Rename some environment methods to be less repetitive, add set_path.
This commit is contained in:
@@ -104,8 +104,8 @@ def setup_dependent_environment(self, spack_env, run_env, extension_spec):
|
||||
python_paths.append(os.path.join(d.prefix, self.site_packages_dir))
|
||||
|
||||
pythonpath = ':'.join(python_paths)
|
||||
spack_env.set_env('PYTHONPATH', pythonpath)
|
||||
run_env.set_env('PYTHONPATH', pythonpath)
|
||||
spack_env.set('PYTHONPATH', pythonpath)
|
||||
run_env.set('PYTHONPATH', pythonpath)
|
||||
|
||||
|
||||
def modify_module(self, module, spec, ext_spec):
|
||||
|
Reference in New Issue
Block a user