6 Aug 04:11
Re: New Distutils implementation for Pyrex.
Phillip J. Eby <pje <at> telecommunity.com>
2007-08-06 02:11:07 GMT
2007-08-06 02:11:07 GMT
At 09:44 PM 8/5/2007 -0400, Billy G. Allie wrote: >If you want to give new options to extension you need to subclass >entension.py. And then just use those classes in your setup.py. You don't need to patch setuptools for that. > If you want to have those new options available as command >line options (to setup.py), you need to wrap core.py (it can't be >sub-classed). Why do you need options to setup.py instead of just options to the build_ext command? > My new Distutils for Pyrex does both. In order for >setuptools to compile pyrex extension (.pyx), it needs to use >Pyrex.Distutils.core instead of distutils.core. If you don't, just >loading build_ext will fail because of undefined extension variables. Per the above, none of this should be necessary.
RSS Feed