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

Switch to hatchling and exclude tests from installation #2543

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cjmayo
Copy link
Contributor

@cjmayo cjmayo commented Oct 19, 2024

We're installing all the tests into site-packages.

I've checked and with flit-core you have to move the tests directory out of the package directory, and that is not going to change.

That would mean a bunch of changes.

Instead switch to hatchling. The tests are still included in the sdist for those (distros) that want them but not installed for ordinary usage.

@samuelhwilliams
Copy link
Contributor

The build system is currently consistent with the rest of the pallets-eco projects and I'm not sure we'd want to deviate here. Probably worth dropping into #pallets-eco in discord if you think this is a sensible change.

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

Successfully merging this pull request may close these issues.

2 participants