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

Yaroslav Halchenko debian at onerussian.com
Sat Oct 9 13:25:04 UTC 2010


severity 599567 normal
tags +moreinfo
thanks


On Sat, 09 Oct 2010, Jérôme Petazzoni wrote:
> It seems that the cython package does not install the "Includes" directory.
wrong!

$> acpolicy cython
cython:
  Installed: 0.12.1-1.1
  Candidate: 0.12.1-1.1
  Version table:
 *** 0.12.1-1.1 0
        900 http://debian.lcs.mit.edu/debian/ squeeze/main amd64 Packages
        901 http://debian.lcs.mit.edu/debian/ sid/main amd64 Packages
        100 /var/lib/dpkg/status

$> 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

> Therefore, when trying to use it, we get almost immediately show-stopper errors
> similar to the following:

> /.../foo.pyx:42:0: 'cpython.pxd' not found

> When installing cython "by hand" (from the tarball distributed on pypi), I
> noticed that it installed a lot of extra files, which were missing from the
> packaged .deb

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)?


> It seems that cython is almost (if not totally) unusable without those files
> (except maybe in some trivial cases).
indeed would be the case if the observation was correct

-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]







More information about the Python-apps-team mailing list