Ticket #249 (closed defect: fixed)
|Reported by:||nicdumz||Owned by:||somebody|
python setup.py build --no-cython-compile python setup.py build --no-cython-compile
Works as expected. The module is built only once
python setup.py build python setup.py build
Builds twice all the C-extensions, and compiles twice the generated .c
1) all C-extensions are being compiled using the python-only compiler before calling setup() 2) Because of #1, at every use of setup.py, new .c files are generated 3) An because those .c are new, build_ext will call at each run a C compiler on those .c
That's a lot of unnecessary overhead! It is also problematic for users that build and install separately, doing the latter operation as root.