Jeroen Demeyer <j.deme...@ugent.be> added the comment:

> Then instead of adding the source directory to sys.path

What's wrong with that? Installing the .pyx sources together with the .so 
compiled modules makes a lot of sense to me: it is very analogous to installing 
the .py sources together with the .pyc byte-compiled files. In 
https://bugs.python.org/issue32797#msg315965 Paul Moore disagreed with that 
analogy, but I don't quite understand why.

And if ${prefix}/lib/pythonX.Y/site-packages/PKGNAME is not a good place to 
store the installed sources, where would you want to install them otherwise?

> (which was only working because the legacy import system never implemented 
> PEP 302 properly)

Not sure what you mean here...

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32797>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to