Skip to content

Commit

Permalink
Fix bdist_wininst_arch task on win32.
Browse files Browse the repository at this point in the history
(cherry picked from commit 5a0c61ea9da2077c5dc08daaa92ab4ca9d14d430)
  • Loading branch information
cournape committed Jun 3, 2009
1 parent d506900 commit 16a9d20
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pavement.py
Expand Up @@ -286,7 +286,10 @@ def bdist_wininst_arch(pyver, arch, scratch=True):

if not os.path.exists(SUPERPACK_BINDIR):
os.makedirs(SUPERPACK_BINDIR)
_bdist_wininst(pyver, SITECFG[arch])
env = os.environ.copy()
for k, v in SITECFG[arch].items():
env[k] = v
_bdist_wininst(pyver, env)
source = os.path.join('dist', wininst_name(pyver))
target = os.path.join(SUPERPACK_BINDIR, internal_wininst_name(arch))
if os.path.exists(target):
Expand Down

0 comments on commit 16a9d20

Please sign in to comment.