[Pyrex] cimport: include path and standard headers

Alexander Belchenko bialix at ukr.net
Mon Oct 1 18:47:33 CEST 2007


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

David McNab пишет:
> Hi,
> 
> I'm wondering if it might be a good idea to update the cimport mechanism
> so that it searches an additional directory such
> as /usr/share/pyrex/include (or on windows, something like c:\Python2.x
> \pyrex\include).
> 
> This would allow for Pyrex to be distributed with a set of handy
> headers, such as 'Python.pxd', 'string.pxd', 'stdio.pxd' etc.
> 
> As I hand-write a lot of 'cdef extern from...' blocks, I'm wondering if
> we've got dozens of other folks doing the same. It makes about as much
> sense as the world of C developers all writing their own version of
> stdio.h, or Python developers all writing their own versions of 'sys',
> 'os' etc.

Nice idea. +1.

- --
[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHASSMzYr338mxwCURAp/iAJwN1163+DY8LQekxewPLR4DqI4CXwCeP7SZ
t41lZ+WDrF6uKguu/13MnAE=
=5Arw
-----END PGP SIGNATURE-----




More information about the Pyrex mailing list