Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GH-92584: Redirect to Setuptools' guidance on extension modules#108030

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
AA-Turner wants to merge6 commits intopython:main
base:main
Choose a base branch
Loading
fromAA-Turner:drop-distutils-doc/ext-modules

Conversation

AA-Turner
Copy link
Member

@AA-TurnerAA-Turner commentedAug 16, 2023
edited by github-actionsbot
Loading

I'm unsure if we should just dropextending/windows entirely, as it internally reccomends just to usesetuptools:

Module authors are encouraged to use the distutils approach for building extension modules, instead of the one described in this section.

A


📚 Documentation preview 📚:https://cpython-previews--108030.org.readthedocs.build/

@zooba
Copy link
Member

I'm unsure if we should just dropextending/windows entirely

It's got important information in there that probably doesn'tofficially exist anywhere else, and for POSIX devs trying to make stuff work on Windows I'm sure it's invaluable (though it would be nice to have similar guides for Windows devs trying to make stuff work on *nix, but I'm not going to hold my breath). Expecting people to extract the same information fromsetuptools or another backend is asking too much.

That said, it's in desperate need of cleanup and modernisation anyway, so I won't miss it. A cross-platform primer on building extension modules by hand (i.e. withoutsetuptools), referencingsysconfig heavily I'd expect, would be a great replacement.

AA-Turner reacted with thumbs up emoji

@AA-Turner
Copy link
MemberAuthor

A cross-platform primer on building extension modules by hand (i.e. withoutsetuptools), referencingsysconfig heavily I'd expect, would be a great replacement.

Should we open a new issue for this?

A

@zooba
Copy link
Member

zooba commentedAug 16, 2023
edited
Loading

Should we open a new issue for this?

It won't hurt, but I'm not sure it'll help convince anyone to actually do it. But I don't know of any better place to put the note - maybe as a comment in the docs as well (referencing the soon-to-be-created new issue)?

@AA-Turner
Copy link
MemberAuthor

Opened#108064

@serhiy-storchakaserhiy-storchaka added the needs backport to 3.13bugs and security fixes labelMay 9, 2024
@hugovkhugovk removed the needs backport to 3.12only security fixes labelApr 10, 2025
@serhiy-storchakaserhiy-storchaka added the needs backport to 3.14bugs and security fixes labelMay 8, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@vstinnervstinnerAwaiting requested review from vstinner

@zoobazoobaAwaiting requested review from zooba

@zwarezwareAwaiting requested review from zware

Assignees
No one assigned
Labels
awaiting reviewdocsDocumentation in the Doc dirneeds backport to 3.13bugs and security fixesneeds backport to 3.14bugs and security fixesskip news
Projects
Status: Todo
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@AA-Turner@zooba@hugovk@serhiy-storchaka@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp