Use parse_environment in the main code

This commit is contained in:
Joe Rickerby
2017-09-01 13:33:29 +01:00
parent 9091533fcc
commit fcb681d283
5 changed files with 17 additions and 11 deletions
+1
View File
@@ -60,6 +60,7 @@ def build(project_dir, package_name, output_dir, test_command, test_requires, be
os.path.join(config.path, 'Scripts'),
env['PATH']
])
env = environment.as_dictionary(prev_environment=env)
# for the logs - check we're running the right version of python
shell(['python', '--version'], env=env)