On Win32, install scons.bat from setup.py.
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 29 Sep 2004 03:22:10 +0000 (03:22 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 29 Sep 2004 03:22:10 +0000 (03:22 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@1109 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/CHANGES.txt
src/setup.py

index 7032d6914e1910c75f300d8960565e80cdbdedda..15be7db4b9b343e8ae9e064485dace0dc9202f3a 100644 (file)
@@ -79,6 +79,9 @@ RELEASE 0.97 - XXX
   - Fix handling of Action ojects (and other callables that don't match
     our calling arguments) in construction variable expansions.
 
+  - On Win32, install scons.bat in the Python directory when installing
+    from setup.py.  (The bdist_wininst installer was already doing this.)
+
   From Clive Levinson:
 
   - Make ParseConfig() recognize and add -mno-cygwin to $LINKFLAGS and
index be3171d208c2002a61b97210fb6527800881840f..525d000d9aa1740455dbc24a2e707cec3cdea8bd 100644 (file)
@@ -213,7 +213,7 @@ arguments = {
 }
 
 try:
-    if sys.argv[1] == "bdist_wininst":
+    if sys.platform == 'win32' or sys.argv[1] == "bdist_wininst":
         arguments['data_files'] = [('.', ["script/scons.bat"])]
 except IndexError:
     pass