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

Use declarative package configuration #5784

Merged
merged 1 commit into from Oct 25, 2021

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 label Oct 21, 2021
@radarhere radarhere merged commit 772f79b into python-pillow:main Oct 25, 2021
48 checks passed
@hugovk hugovk deleted the setup-py-to-cfg branch Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packaging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants