Skip to content

Use declarative package configuration - #5784

Merged
radarhere merged 1 commit into
python-pillow:mainfrom
hugovk:setup-py-to-cfg
Oct 25, 2021
Merged

radarhere merged 1 commit into
python-pillow:mainfrom
hugovk:setup-py-to-cfg

Conversation

@hugovk

@hugovk hugovk commented Oct 21, 2021

Copy link
Copy Markdown
Member

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