mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 09:50:01 +00:00
Add build batch for Windows
This commit is contained in:
parent
c9b6e5b65d
commit
5c90f953da
2 changed files with 28 additions and 0 deletions
24
build_windows.bat
Normal file
24
build_windows.bat
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
set MSSdk=1
|
||||
set DISTUTILS_USE_SDK=1
|
||||
|
||||
rem Python27 x86
|
||||
rem call "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.cmd" /Release /x86 /xp
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
|
||||
c:\Python27\python setup.py build_ext -f build install
|
||||
pause
|
||||
|
||||
rem Python27 amd64
|
||||
rem call "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.cmd" /Release /x64 /xp
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat"
|
||||
c:\Python27_amd64\python setup.py build_ext -f build install
|
||||
pause
|
||||
|
||||
rem Python33 x86
|
||||
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\bin\SetEnv.cmd" /Release /x86 /xp
|
||||
c:\Python33\python setup.py build_ext -f build install
|
||||
pause
|
||||
|
||||
rem Python33 amd64
|
||||
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\bin\SetEnv.cmd" /Release /x64 /xp
|
||||
c:\Python33_amd64\python setup.py build_ext -f build install
|
||||
pause
|
||||
4
upload_windows.bat
Normal file
4
upload_windows.bat
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
c:\Python27\python setup.py bdist_egg bdist_wininst upload
|
||||
c:\Python33\python setup.py bdist_egg bdist_wininst upload
|
||||
c:\Python27_amd64\python setup.py bdist_egg bdist_wininst upload
|
||||
c:\Python33_amd64\python setup.py bdist_egg bdist_wininst upload
|
||||
Loading…
Add table
Add a link
Reference in a new issue