You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[doc] replace 'distutils' examples with 'setuptools' #90163
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 extension module with setuptools here:
Activity
elmjag commentedon Feb 2, 2022
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 extension module with setuptools here:
https://elmjag.github.io/setuptools.html
jacalata commentedon Jun 25, 2022
This is the setuptools doc page: https://setuptools.pypa.io/en/latest/userguide/ext_modules.html, which is probably what needs to be updated
aisk commentedon Sep 18, 2023
Currently, distutil has been removed. Should we remove this section and only refer to other third-party tools, especially setuptools?
hugovk commentedon Sep 18, 2023
This is how the pages looks now for 3.12 (will become
/3/when 3.12 is released): https://docs.python.org/3.12/extending/building.htmlCompare with 3.11 (the current
/3/docs version): https://docs.python.org/3.11/extending/building.htmlFor 3.12 the distutils section has been removed, and replaced with a a reference to the setuptools page (in PR #95239).
Is there anything else that needs doing for this issue or can we close it?
merwok commentedon Sep 18, 2023
OK to close for me. @taleinat ?
AA-Turner commentedon Sep 19, 2023
#108030 addresses one final part (extending/windows).
A
StanFromIreland commentedon Aug 10, 2025
This is now under a new issue, I think this is complete then?