diff options
author | INADA Naoki <inada-n@klab.com> | 2013-03-13 18:15:43 +0900 |
---|---|---|
committer | INADA Naoki <inada-n@klab.com> | 2013-03-13 18:15:43 +0900 |
commit | 5c90f953dae37610f478183849b77413d6ec8e9f (patch) | |
tree | 3101d1761b083a6b8262c2f3ba87ddc15002c937 | |
parent | c9b6e5b65d8cbc8a1ed5450eb274326e1c061406 (diff) | |
download | msgpack-python-5c90f953dae37610f478183849b77413d6ec8e9f.tar.gz |
Add build batch for Windows
-rw-r--r-- | build_windows.bat | 24 | ||||
-rw-r--r-- | upload_windows.bat | 4 |
2 files changed, 28 insertions, 0 deletions
diff --git a/build_windows.bat b/build_windows.bat new file mode 100644 index 0000000..a71c0e0 --- /dev/null +++ b/build_windows.bat @@ -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 diff --git a/upload_windows.bat b/upload_windows.bat new file mode 100644 index 0000000..5cd9a7c --- /dev/null +++ b/upload_windows.bat @@ -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 |