Re: array setting and math function annoyance
Stefan Behnel <[email protected]>
| Newsgroups | gmane.comp.python.pyrex |
|---|---|
| Message-ID | <[email protected]> |
Hi, Greg Ewing wrote: > In the long term, I'd like to make Pyrex do its own > dependency discovery, and not use a distutils extension > at all. That is, you call the Pyrex compiler from your > setup.py file prior to calling setup(), and distutils > is only used to compile and link the .c files. I don't think that's a good idea. Distutils is the right place to build stuff, users shouldn't have to run things like a compiler outside of distutils. > It would be nice if distutils could be easily extended > to handle new kinds of preprocessing and its attendant > dependencies, but it appears to be structured the wrong > way for that. So I'm working towards getting out of > the distutils extension business altogether. I would consider a weakness of distutils to be a reason to fix distutils, rather than a reason not to use it. Stefan