From: robk-tahoe Date: Wed, 23 Jan 2008 02:32:55 +0000 (-0700) Subject: fix build breakage caused by auto_deps setuptools stuff X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/something?a=commitdiff_plain;h=589c8d158a455d50cc16a2ea079637f9f76488b0;p=tahoe-lafs%2Ftahoe-lafs.git 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' --- diff --git a/_auto_deps.py b/_auto_deps.py index f66ef83f..4bc374cf 100644 --- a/_auto_deps.py +++ b/_auto_deps.py @@ -5,6 +5,9 @@ install_requires=["zfec >= 1.1.0", "nevow >= 0.6.0", "zope.interface >= 3.1.0", ] +import sys +if hasattr(sys, 'frozen'): + install_requires=[] def require_auto_deps(): try: