Skip to content

Commit

Permalink
Add miniconda root to %PATH% on Windows.
Browse files Browse the repository at this point in the history
whitequark committed Mar 13, 2018
1 parent 31a4fb9 commit f390596
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion master.cfg
Original file line number Diff line number Diff line change
@@ -117,7 +117,16 @@ def condaEnv(use_local=False, extra_vars={}):
'%(builddir)s', '..', 'miniconda', '%(condabindir)s'
])

path_entries = [WithProperties(global_bin_path), '${PATH}']
# python.exe is in miniconda/ on Windows
root_path = '%(dirsep)s'.join([
'%(builddir)s', '..', 'miniconda',
])

path_entries = [
WithProperties(global_bin_path),
WithProperties(root_path),
'${PATH}'
]
if use_local:
path_entries.insert(0, WithProperties(local_bin_path))

0 comments on commit f390596

Please sign in to comment.