[Python-apps-team] Bug#599567: Bug#599567: cython Includes are not packaged

Jérôme Petazzoni jp at enix.org
Sat Oct 9 15:34:15 UTC 2010


close 599567
thanks

   Hi,

On Sat, 09 Oct 2010, Jérôme Petazzoni wrote:

> It seems that the cython package does not install the "Includes" directory.
On 10/09/2010 03:25 PM, Yaroslav Halchenko wrote:
> $>  dpkg -L cython | grep Include | head
> /usr/share/pyshared/Cython/Includes
> /usr/share/pyshared/Cython/Includes/python_bytes.pxd
> /usr/share/pyshared/Cython/Includes/python_complex.pxd
> /usr/share/pyshared/Cython/Includes/python_bool.pxd
> /usr/share/pyshared/Cython/Includes/numpy.pxd
> could you be more specific -- i.e. list the files missing from .deb?
> does it have a mysterious cpython.pxd (0.13 provides complete
> directory cpython/, but still no cpython.pxd)?

You're right, I was not very accurate.

cython 0.12 package:
$ dpkg -L cython | grep Includes | wc -l
38

manual install of cython 0.13:
$ find /usr/local/lib/python2.6/dist-packages/Cython/Includes/ | wc -l
101

I downloaded cython 0.12 to compare with the package and indeed, the 
package has everything included.
I suppose that the problem comes from the library that I was building 
(pyzmq): it probably requires cython 0.13.
The 0.13 version does not have cpython.pxd but it has a cpython 
directory with __init__.pxd (if I understand how cython works, that 
mimics Python's modules & packages behaviour).
I probably made a silly mistake: removing the cython package and doing a 
"dpkg -S Include" afterward... Silly me!
Please accept my apologies for the invalid bug report.
(Now, how do I lobby for inclusion of cython 0.13 into the repository? ;-))

Best regards,





More information about the Python-apps-team mailing list