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

The "Packaging projects" tutorial should discuss using pyproject.toml #720

Closed
pfmoore opened this issue Apr 21, 2020 · 1 comment
Closed

Comments

@pfmoore
Copy link
Member

pfmoore commented Apr 21, 2020

The tutorial at https://packaging.python.org/tutorials/packaging-projects/ describes building an old-style setuptools project. We should be covering using pyproject.toml. Reasons include:

  1. It's the "modern" way of defining packages.
  2. It ensures that the project defines its build dependency on wheel, which avoids oddities such as pip doing a direct setup.py install when installing from source.

See pypa/setuptools#510 (comment) and pypa/pip#8102 for context.

@pfmoore pfmoore changed the title The "Packaging projects" tutorial should discuss using pyproject.toml The "Packaging projects" tutorial should discuss using pyproject.toml Apr 21, 2020
@bhrutledge
Copy link
Contributor

With the resolution of #809, the tutorial now includes a minimal pyproject.toml to use setuptools. Can this be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants