-
Notifications
You must be signed in to change notification settings - Fork 20
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
Do not use distutils to get Python library path #98
Do not use distutils to get Python library path #98
Conversation
And as expected, this doesn't work. With Python 3.9:
With Python 3.6:
So back to the drawing board... |
distutils is deprecated and will be removed in Python 3.12. sysconfig module provides replacement for distutils.sysconfig.
d7e6d53
to
1dc78ff
Compare
Reading the code proved to be the best documentation once again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
Somehow this change broke the Debian build.
Notice how it installs the files in /usr/local despite using Reverting this commit, I get:
A few warnings but installed into the proper path |
Full build log attached: |
distutils is deprecated and will be removed in Python 3.12.
sysconfig module provides replacement for distutils.sysconfig.