[Distutils] setuptools special case Pyrex and break Cython
Phillip J. Eby
pje at telecommunity.com
Mon Sep 3 18:40:52 CEST 2007
At 06:21 PM 9/3/2007 +0200, Stefan Behnel wrote:
>The point is that current setuptools break developer builds. You
>can't change the sources without having (a fake) Pyrex installed, because
>setuptools will not let you run Cython.
If you want to use the native Extension type, do this:
from distutils.core import Extension
from setuptools import setup
Alternately, you can use:
from setuptools.extension _import Extension as Extension
I will add this information to the existing setuptools documentation
regarding Pyrex detection.
Meanwhile, if you'd like to suggest a way of detecting Cython's
presence, I can probably add that to the setuptools.extension module.
More information about the Distutils-SIG
mailing list