[Numpy-discussion] bdist_egg trips up over non-extension extensions

Robert Kern robert.kern at gmail.com
Tue Jan 24 08:16:09 EST 2006


In particular, numpy can't build into an egg currently because
numpy/__config__.py is created using Configuration.add_extension() and a
generator function. In order to make extension modules usable from zipped eggs,
setuptools generates a pure Python stub loader that will extract the extension
module to a .hidden directory and load it from there. In this case, since the
Extension isn't actually an extension, the stub loader is broken, because it
expects a numpy/__config__.so.

Can we find another way to generate Python code instead of abusing Extension
this way?

-- 
Robert Kern
robert.kern at gmail.com

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter




More information about the NumPy-Discussion mailing list