diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2016-07-11 20:08:30 -0500 |
---|---|---|
committer | Glenn Johnson <glenn-johnson@uiowa.edu> | 2016-07-11 20:08:30 -0500 |
commit | 81daaddfe91a1684e9d80c9fd42ca6ba2586ee33 (patch) | |
tree | c9ee2412133b7043451664805ca4f04c292e796c | |
parent | 1b08296392e5413a8cbe33b0337f74cd59fec2e6 (diff) | |
download | spack-81daaddfe91a1684e9d80c9fd42ca6ba2586ee33.tar.gz spack-81daaddfe91a1684e9d80c9fd42ca6ba2586ee33.tar.bz2 spack-81daaddfe91a1684e9d80c9fd42ca6ba2586ee33.tar.xz spack-81daaddfe91a1684e9d80c9fd42ca6ba2586ee33.zip |
Use the site_packages_dir from the Python class
It is not necessary to set site_packages_dir in this package as it is
already provided by the Python package class.
-rw-r--r-- | var/spack/repos/builtin/packages/libxml2/package.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/libxml2/package.py b/var/spack/repos/builtin/packages/libxml2/package.py index 360386669a..fe4bafe2e7 100644 --- a/var/spack/repos/builtin/packages/libxml2/package.py +++ b/var/spack/repos/builtin/packages/libxml2/package.py @@ -43,9 +43,6 @@ class Libxml2(Package): def install(self, spec, prefix): if '+python' in spec: - site_packages_dir = os.path.join(prefix, - 'lib/python%s/site-packages' % - (spec['python'].version.up_to(2))) python_args = ["--with-python=%s" % spec['python'].prefix, "--with-python-install-dir=%s" % site_packages_dir] else: |