[PyQt] Why does SIP's configure.py default install sip.h into /usr/include ?
phil at riverbankcomputing.com
Mon Feb 9 17:49:47 GMT 2015
On 09/02/2015 5:16 pm, Russell Warren wrote:
> I'm building sip4.16.5 inside a virtualenv and sip defaults to
> sip.h to /usr/include/python2.7/.
> I know I can override the `sip.h` installation location with
> but why is the default to go way out to /usr/include? Is there some
> advantage to stuffing it out there?
> When in a virtualenv I generally try to avoid elevating privileges high
> enough to do that. Most packages I see tend to leave header files
> somewhere (randomly) under their `site-packages` dir.
> Full default build log attempt captured here:
It installs it in the directory returned by
distutils.sysconfig.get_python_inc(). I don't know how that is
influenced by virtualenv.
More information about the PyQt