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

Pearu Peterson pearu at scipy.org
Tue Jan 24 10:32:03 CST 2006


On Tue, 24 Jan 2006, Robert Kern wrote:

> 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.

Could you try recent version of numpy from SVN? __config__.py is now
generated via py_modules list.

Pearu




More information about the Numpy-discussion mailing list