summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/python/package.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py
index 8d2f216f0a..1cd5845cde 100644
--- a/var/spack/repos/builtin/packages/python/package.py
+++ b/var/spack/repos/builtin/packages/python/package.py
@@ -1048,9 +1048,6 @@ print(json.dumps(config))
return path.replace(prefix, "")
return os.path.join("include", "python{}".format(self.version.up_to(2)))
- def setup_run_environment(self, env):
- env.prepend_path("CPATH", os.pathsep.join(self.spec["python"].headers.directories))
-
def setup_dependent_build_environment(self, env, dependent_spec):
"""Set PYTHONPATH to include the site-packages directory for the
extension and any other python extensions it depends on.