summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)