Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Oct 21, 2021

We can move much of the static packaging metadata from setup.py to a declarative package configuration file, setup.cfg.

This is happening in many Python projects (and pure Python projects can have a minimal or no setup.py).

A benefit for us is we can get to this metadata without scrolling to the end of 1,000 lines of logic, making it more visible and easier to edit. If it doesn't need any logic, it's cleaner to move it out.

@hugovk hugovk added the Packaging Any mention of setup.py; some overlap with Install label label Oct 21, 2021
@radarhere radarhere merged commit 772f79b into python-pillow:main Oct 25, 2021
@hugovk hugovk deleted the setup-py-to-cfg branch October 25, 2021 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Packaging Any mention of setup.py; some overlap with Install label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants