Blame setuptools-18.5-disable-zip-safe.patch
|
Thomas Spura |
9c8c1dc |
--- ./setuptools/command/bdist_egg.py.orig 2015-11-15 16:25:11.514387679 +0100
|
|
Thomas Spura |
9c8c1dc |
+++ ./setuptools/command/bdist_egg.py 2015-11-15 16:25:16.096408293 +0100
|
|
Thomas Spura |
9c8c1dc |
@@ -237,6 +237,9 @@
|
|
Thomas Spura |
9c8c1dc |
os.unlink(path)
|
|
Thomas Spura |
9c8c1dc |
|
|
Thomas Spura |
9c8c1dc |
def zip_safe(self):
|
|
Thomas Spura |
9c8c1dc |
+ log.warn("Setting zip_safe to False by default on Fedora!"
|
|
Thomas Spura |
9c8c1dc |
+ "See: https://bugzilla.redhat.com/show_bug.cgi?id=1271776")
|
|
Thomas Spura |
9c8c1dc |
+ return False
|
|
Thomas Spura |
9c8c1dc |
safe = getattr(self.distribution, 'zip_safe', None)
|
|
Thomas Spura |
9c8c1dc |
if safe is not None:
|
|
Thomas Spura |
9c8c1dc |
return safe
|