31 Jan 2012 14:52
Feature request: Check in system directory when cimporting module
Thomas Wiecki <thomas.wiecki <at> googlemail.com>
2012-01-31 13:52:24 GMT
2012-01-31 13:52:24 GMT
Hi, it seems that cimport is only looking in the local and Cython/Includes directory for a pxd module when using cimport. However, for people to start building cython packages I think there should be an option to install pxd modules that then can get cimported system-wide. Is there a current way to do this? I did not have luck so far using CythonGSL. I guess the most straight forward way would be to look in the python dist-packages directory for pxd modules as then one could simply build a setup.py and put the pxd files as package_data. I guess another option would be to allow installing into Cython/Includes via some distutils extension. Apologies if this already works via some way I am not aware of. Thanks, Thomas
RSS Feed