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

Remove unused setuptools config #3221

Merged
merged 1 commit into from
Oct 3, 2023
Merged

Conversation

dcamron
Copy link
Member

@dcamron dcamron commented Oct 3, 2023

The tools (as opposed to tool) table is not valid in pyproject.toml. Doesn't look like we'd gain anything from correctly specifying zip-safe and platforms.

setuptools was also automatically discovering our project layout since where was inappropriately considered. I've removed all these; I'm glad to re-add where correctly if we feel the explicitness helps.

tools property is unused in pyproject. Config
zip-safe, platforms not needed, and src was
being auto-discovered by setuptools since
where was incorrectly specified.
@dcamron dcamron added Area: Infrastructure Pertains to project infrastructure (e.g. CI, linting) Type: Maintenance Updates and clean ups (but not wrong) labels Oct 3, 2023
@dcamron dcamron added this to the September 2023 milestone Oct 3, 2023
@dcamron dcamron requested a review from a team as a code owner October 3, 2023 14:54
@dcamron dcamron requested review from dopplershift and removed request for a team October 3, 2023 14:54
Copy link
Member

@dopplershift dopplershift left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I had no idea zip-safe was essentially pointless after eggs (which is all of MetPy's modern development history).

Also, where was done to make sure tests didn't end up in the wheel, but it looks like the auto detection is doing precisely the correct thing (I built locally) so I'm happy to go with

@dopplershift dopplershift merged commit 81d548b into Unidata:main Oct 3, 2023
27 checks passed
@dcamron dcamron deleted the clean-pyproject branch October 4, 2023 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Infrastructure Pertains to project infrastructure (e.g. CI, linting) Type: Maintenance Updates and clean ups (but not wrong)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants