Public bug reported:

On Ubuntu 17.10:

$ ls /usr/include/python2.7
abstract.h         code.h           funcobject.h   marshal.h       
pgenheaders.h   pymem.h         
....
$ ls /usr/local/include/python2.7
ls: cannot access '/usr/local/include/python2.7': No such file or directory
$ python -c "import sysconfig; print(sysconfig.get_path('include'))"
/usr/local/include/python2.7

Definitely wrong.

Python is such a massive pain to integrate with - I actually switched
from CMake's FindPythonLibs() which is heuristic-based and very
unreliable to sysconfig - "surely python itself knows where it is
installed?" I thought. Ha. Of course not. /rant

** Affects: python2.7 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  sysconfig paths are incorrect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1739628/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to