__init__.py (SCons-4.3.0) | : | __init__.py (SCons-4.4.0) | ||
---|---|---|---|---|
skipping to change at line 222 | skipping to change at line 222 | |||
try: | try: | |||
env['BUILDERS']['Package'] | env['BUILDERS']['Package'] | |||
env['BUILDERS']['Tag'] | env['BUILDERS']['Tag'] | |||
except KeyError: | except KeyError: | |||
env['BUILDERS']['Package'] = Package | env['BUILDERS']['Package'] = Package | |||
env['BUILDERS']['Tag'] = Tag | env['BUILDERS']['Tag'] = Tag | |||
def exists(env): | def exists(env): | |||
return 1 | return 1 | |||
# XXX | ||||
def options(opts): | def options(opts): | |||
opts.AddVariables( | opts.AddVariables( | |||
EnumVariable('PACKAGETYPE', | EnumVariable('PACKAGETYPE', | |||
'the type of package to create.', | 'the type of package to create.', | |||
None, allowed_values=list(map( str, __all__ )), | None, allowed_values=list(map( str, __all__ )), | |||
ignorecase=2 | ignorecase=2 | |||
) | ) | |||
) | ) | |||
# | # | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 0 lines changed or added |