summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-02-26 21:00:23 (GMT)
committerSteven Knight <knight@baldmt.com>2002-02-26 21:00:23 (GMT)
commit024596366a4d3c03942015b2c7e09ed080d8a6b2 (patch)
tree746050e42e425bcc4a10ee751bc775b9d04f070e /src
parent22377ca1715d2b67a5e72cdede0fb0103e4c7ff1 (diff)
downloadSCons-024596366a4d3c03942015b2c7e09ed080d8a6b2.zip
SCons-024596366a4d3c03942015b2c7e09ed080d8a6b2.tar.gz
SCons-024596366a4d3c03942015b2c7e09ed080d8a6b2.tar.bz2
Extend SConstruct et al. to build .zip files, and to build the scons-src package on Win32 platforms.
Diffstat (limited to 'src')
-rw-r--r--src/CHANGES.txt8
-rw-r--r--src/setup.py7
2 files changed, 12 insertions, 3 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt
index 9d0db07..5abbe6d 100644
--- a/src/CHANGES.txt
+++ b/src/CHANGES.txt
@@ -8,6 +8,14 @@
+RELEASE 0.06 -
+
+ From Steven Knight:
+
+ - Add .zip files to the packages we build.
+
+
+
RELEASE 0.05 - Thu, 21 Feb 2002 16:50:03 -0600
From Chad Austin:
diff --git a/src/setup.py b/src/setup.py
index d664527..73abe19 100644
--- a/src/setup.py
+++ b/src/setup.py
@@ -40,6 +40,7 @@ class my_install_lib(install_lib):
def finalize_options(self):
install_lib.finalize_options(self)
head = self.install_dir
+ drive, head = os.path.splitdrive(self.install_dir)
while head:
if head == os.sep:
head = None
@@ -47,17 +48,17 @@ class my_install_lib(install_lib):
else:
head, tail = os.path.split(head)
if tail[:6] == "python":
- self.install_dir = os.path.join(head, "scons")
+ self.install_dir = os.path.join(drive + head, "scons")
# Our original packaging scheme placed the build engine
# in a private library directory that contained the SCons
# version number in the directory name. Here's how this
# was supported here. See the Construct file for details
# on other files that would need to be changed to support
# this as well.
- #self.install_dir = os.path.join(head, "scons-__VERSION__")
+ #self.install_dir = os.path.join(drive + head, "scons-__VERSION__")
return
elif tail[:6] == "Python":
- self.install_dir = os.path.join(head, tail)
+ self.install_dir = os.path.join(drive + head, tail)
return
arguments = {