Skip to content

Replace deprecated distutils import with setuptools#406

Open
fazalpsinfo-cmyk wants to merge 1 commit into
benjaminp:mainfrom
fazalpsinfo-cmyk:fix/distutils-to-setuptools
Open

Replace deprecated distutils import with setuptools#406
fazalpsinfo-cmyk wants to merge 1 commit into
benjaminp:mainfrom
fazalpsinfo-cmyk:fix/distutils-to-setuptools

Conversation

@fazalpsinfo-cmyk

Copy link
Copy Markdown

Replace the try/except fallback to distutils.core with a direct setuptools import.

distutils was deprecated in Python 3.10 and removed entirely in Python 3.12. Setuptools has been the recommended replacement for years and is virtually always available in modern Python environments.

This change removes the deprecated fallback path and uses setuptools directly.

Support my work: https://buymeacoffee.com/muhamedfazalps

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.

1 participant