python-utils-r1.eclass: Obtain PYTHON_SITEDIR from the interpreter
authorMichał Górny <mgorny@gentoo.org>
Sat, 7 Nov 2015 19:30:24 +0000 (20:30 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 11 Nov 2015 10:21:25 +0000 (11:21 +0100)
commitfd4001e9682ed11db9f6b2cf87f3e89ed291fe02
tree1e94d7037e014066896bfe35902f739058bf4f63
parente0d0c114862a731d3a10cab621e1070728b8ec5f
python-utils-r1.eclass: Obtain PYTHON_SITEDIR from the interpreter

Obtain the Python site-packages directory path using
the distutils.sysconfig module, rather than hardcoding it.
eclass/python-utils-r1.eclass
eclass/tests/python-utils-r1.sh