-
-
Notifications
You must be signed in to change notification settings - Fork 187
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 dist-packages #222
Comments
The issue pertains to this line of code: Line 58 in 43abd0f
However, we know that it also works on Arch. In fact, the guy who wrote that line of code works on Arch (though he obviously works from source so things may be different until he tests the actual build). In the commit he mentions that it is meant to improve something for Debian though. @awhiemstra, do you know why dist-packages was used? |
It doesn't work on Arch, the |
No indeed it does not, I just never really bothered with it since I use a custom pythonpath anyway when doing development. Note that we already fixed this for Arcus: https://github.com/Ultimaker/libArcus/blob/master/CMakeLists.txt , we should do something similar here. |
Our product owner just closed this for being inactive for 3 months. |
Python's
dist-packages
directory is debian specific and does not work on any other Linux distribution. The correct directory issite-packages
.Also, the correct directory for
site-packages
is notpython3
butpython${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}
.Unless these changes are made, no python import can work.
This issue is present in all other repositories.
The text was updated successfully, but these errors were encountered: