From 2ac7e55d1f0fae83a925ac16c29326571081b9ba Mon Sep 17 00:00:00 2001 From: PyYoshi Date: Mon, 7 Sep 2015 22:10:41 +0900 Subject: [PATCH] add windows build/upload scripts --- win_build.bat | 11 +++++++++++ win_upload.bat | 4 ++++ 2 files changed, 15 insertions(+) create mode 100644 win_build.bat create mode 100644 win_upload.bat diff --git a/win_build.bat b/win_build.bat new file mode 100644 index 0000000..670cdb4 --- /dev/null +++ b/win_build.bat @@ -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 diff --git a/win_upload.bat b/win_upload.bat new file mode 100644 index 0000000..ce9b61a --- /dev/null +++ b/win_upload.bat @@ -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