Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake.bat
More file actions
Latest commit
36 lines (31 loc) · 1.06 KB
/
Copy pathmake.bat
File metadata and controls
36 lines (31 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@echooff
rem ==========================================================================
rem Shortcuts for various tasks, emulating UNIX "make" on Windows.
rem It is primarily intended as a shortcut for compiling / installing
rem psutil and running tests. E.g.:
rem
rem make build
rem make install
rem make test
rem
rem This script is modeled after my Windows installation which uses:
rem - Visual studio 2008 for Python 2.7
rem - Visual studio 2010 for Python 3.4+
rem ...therefore it might not work on your Windows installation.
rem
rem To compile for a specific Python version run:
rem set PYTHON=C:\Python34\python.exe & make.bat build
rem
rem To use a different test script:
rem set TSCRIPT=foo.py & make.bat test
rem ==========================================================================
if"%PYTHON%"=="" (
setPYTHON=python
)
if"%TSCRIPT%"=="" (
setTSCRIPT=psutil\tests\runner.py
)
rem Needed to locate the .pypirc file and upload exes on PyPI.
setHOME=%USERPROFILE%
setPSUTIL_DEBUG=1
%PYTHON% scripts\internal\winmake.py %1%2%3%4%5%6