add windows build/upload scripts

This commit is contained in:
PyYoshi 2015-09-07 22:10:41 +09:00
parent 4671b48c5d
commit 2ac7e55d1f
2 changed files with 15 additions and 0 deletions

11
win_build.bat Normal file
View file

@ -0,0 +1,11 @@
rem setup packages
py -3.4-32 -m pip install -U pip cython wheel twine
py -3.4-x64 -m pip install -U pip cython wheel twine
py -2.7-32 -m pip install -U pip cython wheel twine
py -2.7-x64 -m pip install -U pip cython wheel twine
rem build package
py -3.4-32 setup.py bdist_wheel
py -3.4-x64 setup.py bdist_wheel
py -2.7-32 setup.py bdist_wheel
py -2.7-x64 setup.py bdist_wheel

4
win_upload.bat Normal file
View file

@ -0,0 +1,4 @@
py -3.4-32 -m twine upload dist/cchardet-*-cp34-none-win32.whl
py -3.4-x64 -m twine upload dist/cchardet-*-cp34-none-win_amd64.whl
py -2.7-32 -m twine upload dist/cchardet-*-cp27-none-win32.whl
py -2.7-x64 -m twine upload dist/cchardet-*-cp27-none-win_amd64.whl