[Distutils] Compiling with Pyrex

devel at jonasmelian.com devel at jonasmelian.com
Mon Dec 22 10:33:40 CET 2008


When I use the next command in my home system:

  $ python setup.py develop

Pyrex compiles the '.pyx' file without any problem. But after of
uploading it to Pypi, and when is installed via 'easy_install' it
doesn't builds any more. (I had to upload the '.c' file compiled on my
system)

You can see here how has been configured:
http://www.bitbucket.org/ares/bcryptwrap/src/tip/setup.py

and here where I had to add any files:
http://www.bitbucket.org/ares/bcryptwrap/src/tip/MANIFEST.in


Note that in the last verion in Pypi I've only one of the next sentences
but I had both ones in anterior revisions.

  setup_requires='Pyrex',
  install_requires='Pyrex',

It download and install Pyrex before of my package, but Pyrex doesn't
compile the file.


More information about the Distutils-SIG mailing list