Skip to content
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

docs(python): suggest pyproject.toml instead of setup.py #2488

Merged
merged 2 commits into from
Feb 27, 2025

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Feb 21, 2025

Modern Python projects favor configuring with pyproject.toml over the setup.py.

https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html

Starting with PEP 621, the Python community selected pyproject.toml as a standard way of specifying project metadata. Setuptools has adopted this standard and will use the information contained in this file as an input in the build process.

Modern Python projects favor configuring with `pyproject.toml` over the `setup.py`.

https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
> Starting with [PEP 621](https://peps.python.org/pep-0621), the Python community selected `pyproject.toml` as a standard way of specifying project metadata. `Setuptools` has adopted this standard and will use the information contained in this file as an input in the build process.
@cclauss cclauss requested review from a team as code owners February 21, 2025 08:26
@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Feb 21, 2025
@chingor13 chingor13 changed the title Python PEP621: Suggest pyproject.toml instead of setup.py docs(python): suggest pyproject.toml instead of setup.py Feb 27, 2025
@chingor13 chingor13 added this pull request to the merge queue Feb 27, 2025
Merged via the queue into googleapis:main with commit e3c9eb0 Feb 27, 2025
9 checks passed
@cclauss cclauss deleted the patch-1 branch February 27, 2025 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants