Moved to issue 2392 - I probably need to do a bit more testing on sysconfig of the different paths:https://bitbucket.org/pypy/pypy/issues/2392/differences-with-sysconfig
S++ On Saturday, September 3, 2016 4:02 PM, Stuart Axon <stua...@yahoo.com> wrote: A bit more info: sysconfig._get_default_scheme() returns 'pypy-local'. If I change this to return 'pypy' then the include path is correct. I'm not fully sure how it supposed to decide between the two ? S++ On Saturday, September 3, 2016 2:56 PM, Stuart Axon via pypy-dev <pypy-dev@python.org> wrote: If I create a virtualenv: /mnt/data/home/stu/.virtualenvs/pypy-venv Then run try and get the include path using sysconfig it is incorrect: >>>> import sysconfig>>>> >>>> sysconfig.get_path('include')'/mnt/data/home/stu/local/include' It should be:/mnt/data/home/stu/.virtualenvs/pypy-venv/include or possibly where that symlink points to:/usr/lib/pypy/include This then affects python-config which means I get stuck trying to compile pygobject. S++ _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev