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

Support pyproject.toml #49

Open
davidcavazos opened this issue Jan 13, 2023 · 0 comments
Open

Support pyproject.toml #49

davidcavazos opened this issue Jan 13, 2023 · 0 comments

Comments

@davidcavazos
Copy link

It would be great to have support for pyproject.toml files. This is the new official way to specify PyPI packages as described in PEP-621, recommended over setup.py and setup.cfg files.

Being a simple TOML file, it should be pretty straightforward to parse and write with the toml package. It could also be easily extended to other metadata formats.

For PEP-621 pyproject.toml

  • [project.dependencies]
  • [project.optional-dependencies]

For Poetry pyproject.toml

  • [tool.poetry.dependencies]
  • [tool.flit.metadata.requires-extra]

For setup.cfg file

  • [tool.flit.metadata.requires]
  • [tool.flit.metadata.requires-extra]

For old style Flit flit.ini file

  • [tool.flit.metadata.requires]
  • [tool.flit.metadata.requires-extra]
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

1 participant