summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-07-12 00:22:45 -0700
committerGitHub <noreply@github.com>2016-07-12 00:22:45 -0700
commit04b3d8d86f508df76c5ca98cb78c351e021bd23a (patch)
tree210a8af95fe81ab5417790c62a99e05cbb7982c0 /var
parent38e722f75d63bd20b5c4e25160bf34c80ca341f3 (diff)
parent5e323b052aaa991b49b7ad6eeae7b3b10fdd0360 (diff)
downloadspack-04b3d8d86f508df76c5ca98cb78c351e021bd23a.tar.gz
spack-04b3d8d86f508df76c5ca98cb78c351e021bd23a.tar.bz2
spack-04b3d8d86f508df76c5ca98cb78c351e021bd23a.tar.xz
spack-04b3d8d86f508df76c5ca98cb78c351e021bd23a.zip
Merge pull request #1222 from glennpj/libxml2
Use the site_packages_dir from the Python class
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libxml2/package.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/libxml2/package.py b/var/spack/repos/builtin/packages/libxml2/package.py
index 360386669a..a6dabd2c05 100644
--- a/var/spack/repos/builtin/packages/libxml2/package.py
+++ b/var/spack/repos/builtin/packages/libxml2/package.py
@@ -23,7 +23,6 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
from spack import *
-import os
class Libxml2(Package):
@@ -43,9 +42,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: