On Sun, Jul 20, 2008 at 1:58 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote:
> On Sun, Jul 20, 2008 at 1:31 PM, Stefan Behnel <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Ondrej Certik wrote:
>>> Why is cython now compiling Cython.Plex.Scanners with gcc but not
>>> installing it with setup.py install?
>>
>> It should get installed automatically by distutils.
>>
>> It gets compiled because that makes it faster. It's a purely optional 
>> feature.
>>
>>
>>> Is this a bug with Cython or on my side? I am just using the same
>>> Debian package as I was using for all previous cython versions, but
>>> suddenly it fails to build, because it depends on python-dev. So I
>>> added python-dev to build-depends, it builds, it works, but the
>>> Cython/Plex/Scanners.so is not installed in the final package. What's
>>> wrong?
>>
>> Any error output?
>
> No, all is fine. It just doesn't install.
>
>>
>>
>>> Should I upload the package as it is, i.e. without the Scanners.so
>>> file? I tested it on some simple .pyx files and it seems to work.
>>
>> You can, but I would prefer having that in.
>
> Yes, me too.
>
>>
>>
>>> I'd like to get this resolved in about 5 hours, so that I can upload
>>> before today's dinstall run, so that Tim can build Sage in Debian with
>>> it.
>>
>> Please provide some more details.
>
> The build log attached. When installing the package, here is the list of 
> files:

Ok, I just tried that manually with

setup.py install --home=.

and it does install the .so file. So the packaging just needs to be
changed. Here is the debian/rules:

#!/usr/bin/make -f
# -*- makefile -*-

DEB_PYTHON_SYSTEM=pysupport

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk

install/cython::
    dh_installman debian/cython.1



Let me investigate some options. BTW, if you want to help maintaining
the Debian package, here is the svn:

Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/cython/trunk
Vcs-Browser: 
http://svn.debian.org/wsvn/python-apps/packages/cython/trunk/?op=log


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

Reply via email to