summaryrefslogtreecommitdiff
path: root/pavement.py
diff options
context:
space:
mode:
authorrgommers <ralf.gommers@googlemail.com>2010-08-05 10:23:03 +0000
committerrgommers <ralf.gommers@googlemail.com>2010-08-05 10:23:03 +0000
commit4e7b7b6217b732abe248f271cdd3f50dea1c030c (patch)
tree20244d76805b3270ba595bc9495ad76ebfc4a730 /pavement.py
parenta18e3e6912b451461c6e844798c4b2346d455346 (diff)
downloadnumpy-4e7b7b6217b732abe248f271cdd3f50dea1c030c.tar.gz
3K: copy built installers from build/py3k/dist instead of dist/.
Diffstat (limited to 'pavement.py')
-rw-r--r--pavement.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pavement.py b/pavement.py
index 033e0bd9f..47076cc19 100644
--- a/pavement.py
+++ b/pavement.py
@@ -194,7 +194,10 @@ def bdist_superpack(options):
pyver = options.python_version
def copy_bdist(arch):
# Copy the wininst in dist into the release directory
- source = os.path.join('dist', wininst_name(pyver))
+ if pyver[0] >= 3:
+ source = os.path.join('build', 'py3k', 'dist', wininst_name(pyver))
+ else:
+ source = os.path.join('dist', wininst_name(pyver))
target = os.path.join(SUPERPACK_BINDIR, internal_wininst_name(arch))
if os.path.exists(target):
os.remove(target)