Skip to content

Commit

Permalink
Set zip_safe = False on Windows - refs buildbot#907
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Jun 27, 2010
1 parent 8c94ca7 commit 727661d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions master/setup.py
Expand Up @@ -222,6 +222,12 @@ def finalize_options(self):
'sdist_test': SdistTestCommand},
}

# set zip_safe to false to force Windows installs to always unpack eggs
# into directories, which seems to work better --
# see http://buildbot.net/trac/ticket/907
if sys.platform == "win32":
setup_args['zip_safe'] = False

py_25 = sys.version_info[0] > 2 or (sys.version_info[0] == 2 and sys.version_info[1] >= 5)
py_26 = sys.version_info[0] > 2 or (sys.version_info[0] == 2 and sys.version_info[1] >= 6)

Expand Down
6 changes: 6 additions & 0 deletions slave/setup.py
Expand Up @@ -52,6 +52,12 @@
'scripts': scripts
}

# set zip_safe to false to force Windows installs to always unpack eggs
# into directories, which seems to work better --
# see http://buildbot.net/trac/ticket/907
if sys.platform == "win32":
setup_args['zip_safe'] = False

try:
# If setuptools is installed, then we'll add setuptools-specific arguments
# to the setup args.
Expand Down

0 comments on commit 727661d

Please sign in to comment.