[Pyrex] 0.9.6.3 setup.py error(s)

Alexander Belchenko bialix at ukr.net
Thu Nov 8 19:17:29 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robin Becker пишет:
> Not sure if this has been mentioned before or if I'm doing something stupid, but 

No, you did all right, it just broken release.
I make python-based installer for windows users:
http://bialix.com/python/Pyrex-0.9.6.3.win32.exe
(of course I fixed this errors too).

> when trying to build on my win32 box with Python 2.5.1 I get this (missing 
> paren) error
>> C:\Python\devel\Pyrex-0.9.6.3>setup.py install
>>   File "C:\Python\devel\Pyrex-0.9.6.3\setup.py", line 11
>>     compiler_dir = os.path.join(get_python_lib(prefix=''), 'Pyrex', 'Compiler')
>>                ^
>> SyntaxError: invalid syntax
> 
> and after fixing that I see this (missing import) error
>> C:\Python\devel\Pyrex-0.9.6.3>setup.py install
>> Traceback (most recent call last):
>>   File "C:\Python\devel\Pyrex-0.9.6.3\setup.py", line 9, in <module>
>>     execfile(distutils.util.convert_path('Pyrex/Compiler/Version.py'))
>> NameError: name 'distutils' is not defined
> 
> Things seem to work after I fix the missing import, but I'm puzzled how it was 
> possible to release this broken and/or if I have the right package?

Maybe because Greg (author of Pyrex) don't have enough tests for setup.py.
For me the main question why he didn't release fixed version yet,
because this problem was reported at least 3 times before
and patch with fix has been sent to the list too.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHM1K5zYr338mxwCURAkE3AJ0QN0yW4Jw2egD7YM+1QF2Z7rUSzwCeJGT/
bp1unk33l71igKXv3/n1NEM=
=hUqd
-----END PGP SIGNATURE-----




More information about the Pyrex mailing list