diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-05-05 18:03:28 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-05-05 18:03:28 +0200 |
commit | a73376529d4423cff81f8cb8feb22da7ed9c79a7 (patch) | |
tree | 780b3788057f1a99754b43ad22bcce5cab6ab813 | |
parent | 3977de2616650c1ed2c9bf392c88eb2d0dd837d4 (diff) | |
download | psutil-a73376529d4423cff81f8cb8feb22da7ed9c79a7.tar.gz |
make.bat: recognize python 64 versions
-rwxr-xr-x | scripts/internal/winmake.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/internal/winmake.py b/scripts/internal/winmake.py index 05eae8a6..e3ac1e28 100755 --- a/scripts/internal/winmake.py +++ b/scripts/internal/winmake.py @@ -449,7 +449,9 @@ def set_python(s): # try to look for a python installation orig = s s = s.replace('.', '') - for v in ('26', '27', '33', '34', '35', '36', '37'): + vers = ('26', '27', '33', '34', '35', '36', '37', + '26-64', '27-64', '33-64', '34-64', '35-64', '36-64', '37-64') + for v in vers: if s == v: path = 'C:\\python%s\python.exe' % s if os.path.isfile(path): |