[Pyrex] ANN: Pyrex 0.9.6.3
Alexander Belchenko
bialix at ukr.net
Sun Oct 21 21:08:38 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sven Berkvens-Matthijsse пишет:
> Hi Greg,
>
>> Pyrex 0.9.6.3 is now available:
>> http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
>
> Are you sure that what you have put online is the correct version?
> The line in 'setup.py' saying:
>
> execfile(distutils.util.convert_path('Pyrex/Compiler/Version.py')
>
> is missing a closing bracket, and furthermore (if one fixes that),
> that line still doesn't work because distutils.util is not imported
> anywhere. If one adds an import state, it seems to install correctly.
Confirmed. Following patch solves problem for me with py2.5 at win32:
=== modified file 'setup.py'
- --- setup.py 21.10.2007 21:57:19
+++ setup.py 21.10.2007 22:06:16
@@ -2,11 +2,12 @@
# Pyrex setup file
#
+import distutils
from distutils.core import setup
from distutils.sysconfig import get_python_lib
import os, sys
#from Pyrex.Compiler.Version import version
- -execfile(distutils.util.convert_path('Pyrex/Compiler/Version.py')
+execfile(distutils.util.convert_path('Pyrex/Compiler/Version.py'))
compiler_dir = os.path.join(get_python_lib(prefix=''), 'Pyrex', 'Compiler')
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHG6O2zYr338mxwCURAu2aAJ9muEt6qj7S2fDuE11pdkADHAccoQCgh8wQ
fIaDVD1vJm8Nh6JVIeL7S4g=
=xC8c
-----END PGP SIGNATURE-----
More information about the Pyrex
mailing list