Permalink
Browse files

Add build batch for Windows

  • Loading branch information...
1 parent c9b6e5b commit 5c90f953dae37610f478183849b77413d6ec8e9f @methane methane committed Mar 13, 2013
Showing with 28 additions and 0 deletions.
  1. +24 −0 build_windows.bat
  2. +4 −0 upload_windows.bat
View
@@ -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
View
@@ -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

0 comments on commit 5c90f95

Please sign in to comment.