Skip to content

Commit

Permalink
Merge 5061f7b into 52734eb
Browse files Browse the repository at this point in the history
  • Loading branch information
wiredfool committed Jan 20, 2015
2 parents 52734eb + 5061f7b commit 32b61b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@ def add_multiarch_paths(self):
os.unlink(tmpfile)


def debug_build():
return hasattr(sys, 'gettotalrefcount')

setup(
name=NAME,
version=PILLOW_VERSION,
Expand Down Expand Up @@ -754,6 +757,6 @@ def add_multiarch_paths(self):
test_suite='PIL.tests',
keywords=["Imaging", ],
license='Standard PIL License',
zip_safe=True,
zip_safe= not debug_build(),
)
# End of file

0 comments on commit 32b61b7

Please sign in to comment.