hpcugent/easybuild-easyblocks — pull request #184 by boegel (2013-04-29 06:58:34+00:00)
Title: hardcode Python lib path, since setuptools/distribute hardcode it

`lib/python-2.x/site-packages` is hardcoded by `setuptools` and `distribute` (see below), so we shouldn't be relying on `distutils.sysconfig.get_python_lib` because it doesn't work as we want/expect on various OSs

```
setuptools-0.6c11 $ sed -n "1107,1114p" setuptools/command/easy_install.py

INSTALL_SCHEMES = dict(
posix = dict(
install_dir = '$base/lib/python$py_version_short/site-packages',
script_dir = '$base/bin',
),
)
```

and

```
distribute-0.6.35 $ sed -n "1322,1327p" setuptools/command/easy_install.py
INSTALL_SCHEMES = dict(
posix = dict(
install_dir = '$base/lib/python$py_version_short/site-packages',
script_dir = '$base/bin',
),
)
```

This patch should fix https://github.com/hpcugent/easybuild-framework/issues/595 and https://github.com/hpcugent/easybuild-framework/issues/597.