Commits

Anonymous committed fbd223e

Fix setup.py so it doesn't require an argument.

Comments (0)

Files changed (4)

HOWTO/release.txt

 	Build candidate packages
 
 		test on Linux
+
 		test on Windows NT
+			1) tar zxf scons-src-{version}.tar.gz
+			   cd scons-src-{version}
+			   python runtest.py -a
+			2) tar zxf scons-{version}.tar.gz
+			   cd scons-{version}
+			   python setup.py install
+			   cd scons-src-{version}
+			   python runtest.py -a -x C:\Python15\scons.bat
+			3) scons-{verson}.win32.exe
+			   cd scons-src-{version}
+			   python runtest.py -a -x C:\Python15\scons.bat
 
 
 
 
   - Made Default() accept Nodes as arguments (courtesy Anthony Roach).
 
+  - Fix to setup.py so it doesn't require a sys.argv[1] argument.
+
 
 
 RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
 To install this package, simply run the provided Python-standard setup
 script as follows:
 
-        # python setup.py
+        # python setup.py install
 
 This will install the scons script in the default script directory
 (/usr/bin or C:\Python*\Scripts, for example) and the build engine in an
     '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)