diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2019-02-19 12:52:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-19 12:52:48 -0800 |
commit | 097b6e9ec4843acfc5c98c147d7aff418679f1db (patch) | |
tree | ded7f161bed3054aa5ea02feb8820f0b9b7dc270 /make.bat | |
parent | 7381d4d15dd7fe108e1bf350c3f76035922c6ed4 (diff) | |
download | psutil-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.bat | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 ) |