fix build breakage caused by auto_deps setuptools stuff

zooko recently added a runtime check, via setuptools, that specific versions of various
packages were reported as available through setuptools at runtime.

however exe and app builds run with collected egg contents, not linked against entire
eggs, i.e. the code is transcluded into a single library.zip

thus setuptools reports that those specific version cannot be reported as available,
though they are in fact available built into the library

this disables that runtime check if the app is running 'frozen'
This commit is contained in:
robk-tahoe 2008-01-22 19:32:55 -07:00
parent 68c2d54c0b
commit 589c8d158a
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@ install_requires=["zfec >= 1.1.0",
"nevow >= 0.6.0", "nevow >= 0.6.0",
"zope.interface >= 3.1.0", "zope.interface >= 3.1.0",
] ]
import sys
if hasattr(sys, 'frozen'):
install_requires=[]
def require_auto_deps(): def require_auto_deps():
try: try: