-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
GH-92584: Remove references to Distutils in configure.rst #108043
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Both :envvar:`CPPFLAGS` and :envvar:`LDFLAGS` need to contain the shell's | ||
value for setup.py to be able to build extension modules using the | ||
value to be able to build extension modules using the | ||
directories specified in the environment variables. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've just removed setup.py
rather than replacing with e.g. Makefile
as I believe CPPFLAGS and LDFLAGS are used by the windows build, though I'm not sure.
extensions. Use it when a compiler flag should *not* be part of | ||
:envvar:`CFLAGS` once Python is installed (:gh:`65320`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if the issue link (#65320) is still relevant, but I've kept in case.
Thanks @AA-Turner for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Merged, thanks. |
GH-108063 is a backport of this pull request to the 3.12 branch. |
…onGH-108043) Remove references to Distutils in configure.rst (cherry picked from commit e88eb37) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
setup.py
was removed in #94474.📚 Documentation preview 📚: https://cpython-previews--108043.org.readthedocs.build/