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

Use pyproject.toml for package configuration #46

Open
jack-fs opened this issue Nov 16, 2022 · 0 comments
Open

Use pyproject.toml for package configuration #46

jack-fs opened this issue Nov 16, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@jack-fs
Copy link
Contributor

jack-fs commented Nov 16, 2022

There is a shift towards using pyproject.toml instead of setup.py for package configuration.
This has the benefit of being statically inspectable without running the config, and allows many tools to be used for dependency management, while using the toml file as a single source of truth. An overview can be found here and in the motivation section of PEP621.

See the python docs for declaring project metadata, which is the (living) specification for the format of the pyproject.toml file

Relevant PEPs:

With setuptools recently implementing support for PEP660, it seems that there's very little reason not to do it

@jack-fs jack-fs added the enhancement New feature or request label Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant