Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
fix for python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Jan 1, 2017
1 parent 476cee4 commit 7e231de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pyquickhelper/pycode/build_helper.py
Expand Up @@ -41,6 +41,7 @@ def choose_path(*paths):
"windows": {
"__PY35__": choose_path("c:\\Python35", _default_nofolder),
"__PY35_X64__": choose_path("c:\\Python35_x64", "c:\\Python35-x64", _default_nofolder),
"__PY36_X64__": choose_path("c:\\Python36_x64", "c:\\Python36-x64", _default_nofolder),
"__PY34__": choose_path("c:\\Python34", _default_nofolder),
"__PY34_X64__": choose_path("c:\\Python34_x64", "c:\\Python34-x64", "c:\\Anaconda3", _default_nofolder),
"__PY27_X64__": choose_path("c:\\Python27_x64", "c:\\Python27", "c:\\Python27-x64", "c:\\Anaconda2", "c:\\Anaconda", _default_nofolder),
Expand Down Expand Up @@ -71,6 +72,7 @@ def private_script_replacements(script, module, requirements, port, raise_except
"__PY35__": None,
"__PY34_X64__": "c:\\Python34_x64",
"__PY35_X64__": "c:\\Python35_x64",
"__PY36_X64__": "c:\\Python36_x64",
"__PY27_X64__": "c:\\Anaconda2",
},
}
Expand Down
1 change: 1 addition & 0 deletions src/pyquickhelper/pycode/setup_helper.py
Expand Up @@ -139,6 +139,7 @@ def process_standard_options_for_setup(argv, file_or_folder, project_var_name, m
"windows": {
"__PY34__": None,
"__PY35__": None,
"__PY36_X64__": "c:\\Python36_x64",
"__PY35_X64__": "c:\\Python35_x64",
"__PY34_X64__": "c:\\Python34_x64",
"__PY27_X64__": "c:\\Anaconda2",
Expand Down

0 comments on commit 7e231de

Please sign in to comment.