OoO En cette nuit nuageuse du  samedi 17 octobre 2009, vers 00:01, Jakub
Wilk <uba...@users.sf.net> disait :

>>>> "'%s' is not a valid module name" % module_name)
>>>> Pyrex.Compiler.Errors.CompileError: 
>>>> /build/user-soya_0.14-3-amd64-ECEolt/soya-0.14/_soya.pyx:0:0: 
>>>> 'soya-0.14._soya' is not a valid module name
>>>> make: *** [debian/python-module-stampdir/python-soya] Error 1
>> 
>> This is not easy to fix. A change in pyrex will try to guess full module
>> name. It  gets soya-0.14._soya (while previous versions  just get _soya)
>> instead of soya._soya. This seems simpler to fix in pyrex than in soya.

> Actually, I find extracting module names a nice feature of Pyrex. What
> is broken is the directory structure of soya. Fortunately, you can
> easily work-around this by monkey-patching Pyrex. See the attached
> patch. (Please note that I only tested if soya builds fine, not if it
> works fine.)

Hi Jakub!

Many thanks for this patch!
-- 
die_if_kernel("Penguin instruction from Penguin mode??!?!", regs);
        2.2.16 /usr/src/linux/arch/sparc/kernel/traps.c

Attachment: pgpJj1zRXNiMe.pgp
Description: PGP signature

Reply via email to