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

Wheel build fixes #9

Merged
merged 3 commits into from
Aug 14, 2023
Merged

Wheel build fixes #9

merged 3 commits into from
Aug 14, 2023

Conversation

mgorny
Copy link

@mgorny mgorny commented Aug 11, 2023

This PR fixes setup.py not to install tests as a package, and adds a minimal pyproject.toml to modernize the package a bit.

EDIT: also noticed stray gevent dependency now.

Fix `setup.py` not to include `tests` in installed packages.  Otherwise
they end up being installed as a top-level package, i.e.:

    /usr/lib/python*/site-packages/tests
Add a minimal `pyproject.toml` that explicitly specifies `setuptools`
as the build backend, and effectively switches from the legacy backend
to the modern backend.
Remove the dependency on `gevent` as it is not used within the installed
package.  It is only used by `httpbin.bash`, and that file is not
installed.
@kevin1024 kevin1024 merged commit e354fdd into psf:main Aug 14, 2023
27 checks passed
@mgorny
Copy link
Author

mgorny commented Aug 14, 2023

Thanks!

@mgorny mgorny deleted the fix-inst branch August 14, 2023 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants