Additionally if for some reason the sysconfig module cannot be used,
automake scripts will fallback to using distutils.sysconfig like this:

distutils.sysconfig.get_python_lib(1,0,prefix=$prefix))

The result of this is (Ubuntu 16.04): 
 /usr/local/lib/python3/dist-packages

This is correctly set to dist-packages. However, sys.path contains  
/usr/local/lib/python3.5/dist-packages not  /usr/local/lib/python3/dist-packages
Hence the modules are not installed in the correct path unless a symlink 
python3->python3.5 is manually made.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1408092

Title:
  sysconfig.get_path('purelib') points to site-packages directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1408092/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to