mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 08:25:35 +00:00
Move require_more() to top-level.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
ea09305987
commit
b2e897c2a9
@ -110,17 +110,15 @@ ignorable = [
|
||||
'twisted-conch',
|
||||
]
|
||||
|
||||
def require_more():
|
||||
import sys
|
||||
import sys
|
||||
|
||||
# Don't try to get the version number of setuptools in frozen builds, because
|
||||
# that triggers 'site' processing that causes failures. Note that frozen
|
||||
# builds still (unfortunately) import pkg_resources in .tac files, so the
|
||||
# entry for setuptools in install_requires above isn't conditional.
|
||||
if not hasattr(sys, 'frozen'):
|
||||
package_imports.append(('setuptools', 'setuptools'))
|
||||
# Don't try to get the version number of setuptools in frozen builds, because
|
||||
# that triggers 'site' processing that causes failures. Note that frozen
|
||||
# builds still (unfortunately) import pkg_resources in .tac files, so the
|
||||
# entry for setuptools in install_requires above isn't conditional.
|
||||
if not hasattr(sys, 'frozen'):
|
||||
package_imports.append(('setuptools', 'setuptools'))
|
||||
|
||||
require_more()
|
||||
|
||||
|
||||
# These are suppressed globally:
|
||||
|
Loading…
x
Reference in New Issue
Block a user