environment : simplified modification of the environment

This commit is contained in:
alalazo
2016-03-16 10:55:28 +01:00
parent b2c98feea4
commit b45ec3f04e
6 changed files with 47 additions and 40 deletions

View File

@@ -98,6 +98,7 @@ def environment_modifications(self, extension_spec):
if d.package.extends(self.spec):
python_paths.append(os.path.join(d.prefix, self.site_packages_dir))
env.set_env['PYTHONPATH'] = ':'.join(python_paths)
return env
def module_modifications(self, module, spec, ext_spec):
"""Called before python modules' install() methods.