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.
This commit is contained in:
parent
1b08296392
commit
81daaddfe9
1 changed files with 0 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue