diff options
author | Steven Knight <knight@baldmt.com> | 2001-12-17 16:27:21 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2001-12-17 16:27:21 (GMT) |
commit | f524ceca04f12a1186e6c003281197ef77dc397c (patch) | |
tree | a0a013adf1165f9ace6e1d3121821ddb85f9f5a3 /src/setup.py | |
parent | 2c6e8c67b164bd354d5f34c4b260ef0ca6c6c473 (diff) | |
download | SCons-f524ceca04f12a1186e6c003281197ef77dc397c.zip SCons-f524ceca04f12a1186e6c003281197ef77dc397c.tar.gz SCons-f524ceca04f12a1186e6c003281197ef77dc397c.tar.bz2 |
Fix setup.py so it doesn't require an argument.
Diffstat (limited to 'src/setup.py')
-rw-r--r-- | src/setup.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/setup.py b/src/setup.py index 8f81573..fb90467 100644 --- a/src/setup.py +++ b/src/setup.py @@ -75,7 +75,10 @@ arguments = { 'cmdclass' : {'install_lib' : my_install_lib} } -if sys.argv[1] == "bdist_wininst": - arguments['data_files'] = [('.', ["script/scons.bat"])] +try: + if sys.argv[1] == "bdist_wininst": + arguments['data_files'] = [('.', ["script/scons.bat"])] +except IndexError: + pass apply(setup, (), arguments) |