-
Notifications
You must be signed in to change notification settings - Fork 894
docs: replace extension-module feature in docs
#5588
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
base: main
Are you sure you want to change the base?
Conversation
| PyO3 has some Cargo features to configure projects for building Python extension modules: | ||
|
|
||
| - The `extension-module` feature, which must be enabled when building Python extension modules. | ||
| - The `PYO3_BUILD_EXTENSION_MODULE` environment variable, which must be set when building Python extension modules. |
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.
The bullet doesn't match the intro :-)
It's probably worth saying that people don't generally need to set this themselves, because maturin/setuptools-rust set it.
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.
…2821) Similar change as PyO3/pyo3#5588
Co-authored-by: Icxolu <[email protected]>
|
Looks like this failed to merge because |
Following up from #5343
This updates documentation across the codebase to discourage use of the
extension-modulefeature and to instead rely on thePYO3_BUILD_EXTENSION_MODULEenvironment variable when relevant.