[Pyrex] ANN: Pyrex 0.9.6.2
Alexander Belchenko
bialix at ukr.net
Thu Oct 11 01:02:18 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Greg Ewing пишет:
> Pyrex 0.9.6.2 is now available:
>
> http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
>
> Another couple of minor fixes.
Here is windows package again (if someone interested)
http://bialix.com/python/Pyrex-0.9.6.2.win32.exe
But want to note that one from latest changes probably
is not designed well. I mean this change:
"New distutils extension: Only compile .pyx if it is newer
than the corresponding .c file."
When I supply --force option to build_ext it is not used
by Pyrex, i.e. I can't force translations from pyx to C.
Is it intended behavior?
And another note: there is function with name 'newer'
that could be used to compare is source newer than generated
target.
from distutils.dep_util import newer
if newer(a, b):
...
- From help:
Definition: newer(source, target)
Docstring:
Return true if 'source' exists and is more recently modified than
'target', or if 'source' exists and 'target' doesn't. Return false if
both exist and 'target' is the same age or younger than 'source'.
Raise DistutilsFileError if 'source' does not exist.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHDVn6zYr338mxwCURAi2SAJ42Tzbv9kyhfGiNj9ebklMmia8VSQCeOiKQ
dTm9lOEfjVdVSbi77Ie0InY=
=NDX1
-----END PGP SIGNATURE-----
More information about the Pyrex
mailing list