summaryrefslogtreecommitdiff
path: root/make.bat
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2019-02-19 12:52:48 -0800
committerGitHub <noreply@github.com>2019-02-19 12:52:48 -0800
commit097b6e9ec4843acfc5c98c147d7aff418679f1db (patch)
treeded7f161bed3054aa5ea02feb8820f0b9b7dc270 /make.bat
parent7381d4d15dd7fe108e1bf350c3f76035922c6ed4 (diff)
downloadpsutil-097b6e9ec4843acfc5c98c147d7aff418679f1db.tar.gz
Windows / refactoring: utility functions for LoadLibraryA and GetProcAddress (#1417)
Windows / refactoring: add utility functions for LoadLibraryA and GetProcAddress. Centralize logic in one place.
Diffstat (limited to 'make.bat')
-rw-r--r--make.bat7
1 files changed, 6 insertions, 1 deletions
diff --git a/make.bat b/make.bat
index 43000535..d47eaecc 100644
--- a/make.bat
+++ b/make.bat
@@ -20,8 +20,13 @@ rem set PYTHON=C:\Python34\python.exe & set TSCRIPT=foo.py & make.bat test
rem ==========================================================================
if "%PYTHON%" == "" (
- set PYTHON=C:\Python27\python.exe
+ if exist "C:\Python37\python.exe" (
+ set PYTHON=C:\Python37\python.exe
+ ) else (
+ set PYTHON=C:\Python27\python.exe
+ )
)
+
if "%TSCRIPT%" == "" (
set TSCRIPT=psutil\tests\__main__.py
)