Skip to content

Conversation

@Zoe-openi
Copy link

pyproject.toml is the modern replacement for setup.cfg and setup.py.

This pyproject.toml was generated using ini2toml 0.15, then in the second commit the dev dependencies were moved from requirements-dev.txt to [project.optional-dependencies] dev and tox.ini amended. Tox functionality was tested and works as expected, python3 -m build also runs without issue

@asottile
Copy link
Member

no it's not

@asottile asottile closed this Jan 29, 2026
@Zoe-openi
Copy link
Author

no it's not

Could you please elaborate on why you would rather stay with the setup.cfg and setup.py approach?

@ngoeddel-openi
Copy link

no it's not

Yes, it is. Please have a look at PEP 518 and PEP 621.

@asottile
Copy link
Member

just because the peps exist does not mean that setup cfg is deprecated.

nobody asked for this drive by patch

@Zoe-openi
Copy link
Author

Fair enough

@pre-commit pre-commit locked as spam and limited conversation to collaborators Jan 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants