On Thu, 19 Jun 2008 16:43:28 +0200, Gael Varoquaux <[EMAIL PROTECTED]> wrote in a message with the id <[EMAIL PROTECTED]>: <snip/> > It would be great if the compile could be done at import time. For > instance the first run of cython for primes.pyx could create a > prime.py containing the logics to do the compilation to _primes.so, > and end by cleaning up the namespace and importing everything from > _primes.so. > > What do you think? > > Cheers, > > Gaƫl
Just to go back to the original request, have you looked at <http://www.prescod.net/pyximport/> ? I've never used it, but it seems to nearly match what you asked for. -- Nigel Rowe rho \N{COMMERCIAL AT} fisheggs \N{FULL STOP} name _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
