Lisandro Dalcin wrote:
>
> Perhaps betther would be to put iside Cython.Runtime, in such a way
> that the full dotted name would be 'Cython.Runtime.refnanny' ?? I'm
> not a big fan of populating site-packages directory. Perhaps if the
> module is renamed to 'pyxrefnanny'?
>   
If your code could be modified to first check for just "refnanny", and 
if that is not found, then attempt Cython.Runtime.refnanny?

This would allow runtests.py to compile refnanny outside of the package 
(which may be changed relative to an installed version), while falling 
back to the one in the package otherwise.

An alternative is to have a new toplevel package cythonruntime or 
cython_runtime. The point is that runtests.py must be able to load it 
into sys.path together with the code in the current directory 
(preferably without having to copy the whole Cython tree).

I tried doing this but it didn't work immediately so I'm giving up. Feel 
free :-)

Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to