Fix flake8 error
This commit is contained in:
parent
8de84b5d8a
commit
1b08296392
@ -44,8 +44,8 @@ class Libxml2(Package):
|
|||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
if '+python' in spec:
|
if '+python' in spec:
|
||||||
site_packages_dir = os.path.join(prefix,
|
site_packages_dir = os.path.join(prefix,
|
||||||
'lib/python%s/site-packages'
|
'lib/python%s/site-packages' %
|
||||||
% (spec['python'].version.up_to(2)))
|
(spec['python'].version.up_to(2)))
|
||||||
python_args = ["--with-python=%s" % spec['python'].prefix,
|
python_args = ["--with-python=%s" % spec['python'].prefix,
|
||||||
"--with-python-install-dir=%s" % site_packages_dir]
|
"--with-python-install-dir=%s" % site_packages_dir]
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user