professor: set PROF_ROOT for pyext/setup.py
This commit is contained in:
parent
d988e7e8ea
commit
f321833a64
@ -52,6 +52,7 @@ def url_for_version(self, version):
|
||||
return f"https://professor.hepforge.org/downloads/?f=Professor-{version}.tar.gz"
|
||||
|
||||
def setup_build_environment(self, env: EnvironmentModifications) -> None:
|
||||
env.set("PROF_ROOT", self.stage.source_path)
|
||||
env.set("PROF_VERSION", self.spec.version)
|
||||
|
||||
@run_before("install")
|
||||
|
Loading…
Reference in New Issue
Block a user