tools/makemanifest.py: Allow passing option args to include().
This allows customising which features can be enabled in a frozen library.
e.g. `include("path.py", extra_features=True)`
in path.py:
options.defaults(standard_features=True)
if options.standard_features:
# freeze standard modules.
if options.extra_features:
# freeze extra modules.
Signed-off-by: NJim Mussared <jim.mussared@gmail.com>
Showing
想要评论请 注册 或 登录