Re: array setting and math function annoyance

Greg Ewing <[email protected]>
Newsgroups gmane.comp.python.pyrex
Message-ID <[email protected]>
Arc Riley wrote:

> That 100 lines in our setup.py is a workaround for Pyrex.Distutils 
> failure of detecting source changes and rebuilding .c files only when 
> necessary.  That part would be better generalized and in Distutils 
> rather than in our setup.py since any project could take advantage of it

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.

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.

-- 
Greg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.