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