[svn r38808] trying to be more ignorant about missing abilities
to remove c-extension modules (they might be in site-packages) and adding a hack to make sure that the greenlet module gets build ahead of the setup install. --HG-- branch : trunk
This commit is contained in:
@@ -135,6 +135,12 @@ def set_registry_value(reg, key, value_name, value):
|
||||
def setup(pkg, **kw):
|
||||
""" invoke distutils on a given package.
|
||||
"""
|
||||
print "precompiling greenlet module"
|
||||
try:
|
||||
x = py.magic.greenlet()
|
||||
except ImportError:
|
||||
print "could not precompile greenlet module, skipping"
|
||||
|
||||
params = Params(pkg)
|
||||
#dump(params)
|
||||
source = getattr(pkg, '__package__', pkg)
|
||||
|
||||
Reference in New Issue
Block a user