I am using Python 2.7 distutils to build a C++ library. However every time I issue the build command with
python setup.py build
all object files are built again, even though the c++-file did not change.
A friend of mine told me that this would not be the case for Python 2.6.
My questions to this board:
You can't do that. Compiled .o files were reused in a simplistic and buggy way, so this optimization was removed in 2.7. See http://bugs.python.org/issue5372 for details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With