Elmir added the comment:
I think it would be very helpful to include an example how to build with
setuptools as well. As it in the end boils down to two simple steps:
* install 'setuptools' package
* change import line:
"from distutils.core import setup, Extension"
Elmir added the comment:
I agree that documenting third-party tools in CPython docs is a bit weird. I
guess this is more an issue with setuptools docs. IMHO here is no clear
explanation on how to build extension modules there.
As a temporary work around, I wrote an example of building
New submission from Elmir :
As the distutils have been deprecated, the documentation on building C/C++
extension modules should be updated to use more future proof tool.
I guess the section:
'Building C and C++ Extensions with distutils'
should be replaced with:
'B