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 usage of distutils in setup.py (fix #1820) #1823

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

devdanzin
Copy link
Contributor

This PR substitutes import and usage of distutils in setup.py by importing and using setuptools, due to distutils being deprecated/removed.

Fixes #1820.

@nedbat
Copy link
Owner

nedbat commented Jul 27, 2024

Thanks! It looks like this still makes our distributions successfully (https://github.com/nedbat/coveragepy/actions/runs/10123548027), but I'm wondering how to test some of the error handling in setup.py now?

@nedbat nedbat merged commit 2a7d977 into nedbat:master Jul 28, 2024
148 checks passed
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.

Setup.py attempts to import obsolete 'distutils'
2 participants