Minor simplification (os.environ -> env)
This commit is contained in:
parent
314ecc54fe
commit
a51d4afe3e
@ -1,4 +1,3 @@
|
||||
from os import environ
|
||||
from spack import *
|
||||
|
||||
class Thrift(Package):
|
||||
@ -28,7 +27,9 @@ class Thrift(Package):
|
||||
# Compilation fails for most languages, fortunately cpp installs fine
|
||||
# All other languages (yes, including C) are omitted until someone needs them
|
||||
def install(self, spec, prefix):
|
||||
environ["PY_PREFIX"] = prefix
|
||||
env["PY_PREFIX"] = prefix
|
||||
env["JAVA_PREFIX"] = prefix
|
||||
|
||||
configure("--prefix=%s" % prefix,
|
||||
"--with-boost=%s" % spec['boost'].prefix,
|
||||
"--with-c=no",
|
||||
|
Loading…
Reference in New Issue
Block a user