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

Deprecate setup.cfg #155

Open
kjd opened this issue Nov 23, 2023 · 1 comment
Open

Deprecate setup.cfg #155

kjd opened this issue Nov 23, 2023 · 1 comment
Milestone

Comments

@kjd
Copy link
Owner

kjd commented Nov 23, 2023

setup.cfg has been temporarily added to address issue #129, but should be deprecated in favor of the more modern pyproject.toml. The current situation duplicates metadata unnecessarily.

@kjd kjd added this to the v4.0 milestone Nov 23, 2023
@kjd kjd changed the title Deprecate setup.py Deprecate setup.cfg Nov 30, 2023
@CAM-Gerlach
Copy link

Revisiting this ≈six months later...

NB, the project currently only has a setup.cfg, no setup.py, and the build backend is set to Flit in the pyproject.toml, so the only way the setup.cfg data could ever get consumed is if distros are repackaging IDNA, they manually patch in their own setup.py, and that Setuptools is several years out of date and does not support metadata in pyproject.toml, which will otherwise get used instead anyway—and it seems rather unlikely by now that a distro will be using the very latest IDNA, but not Setuptools.

Also, by now they are going to be having the same problem with many, many other core libraries and tools that have switched to either non-Setuptools backends or pyproject metadata with Setuptools, so presumably they have either switched to more modern packaging workflows (as mainstream distros have, AFAIK), or have developed hacks to deal with this.

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

No branches or pull requests

2 participants