diff --git a/.github/workflows/pythonbuild.yml b/.github/workflows/pythonbuild.yml index f6226697..cff0fff7 100644 --- a/.github/workflows/pythonbuild.yml +++ b/.github/workflows/pythonbuild.yml @@ -44,6 +44,7 @@ jobs: pip install pytest pytest + build_wheels: needs: [test_python] name: Build wheel on ${{ matrix.os }} @@ -68,15 +69,82 @@ jobs: - name: Install cibuildwheel run: | python -m pip install git+https://github.com/joerick/cibuildwheel.git@f6eaa9f - - name: Build wheels run: | python -m cibuildwheel --output-dir wheelhouse + - uses: actions/upload-artifact@v2 + with: + path: ./wheelhouse/*.whl + + + build_wheels_python27_windows_64: + needs: [test_python] + name: Build wheel for python2.7 on windows-latest 64 bit + runs-on: windows-latest + env: + CIBW_BUILD: cp27-win_amd64 + DISTUTILS_USE_SDK: 1 + MSSdk: 1 + + steps: + - uses: actions/checkout@v1 + with: + submodules: 'true' + + - uses: actions/setup-python@v1 + name: Install Python + with: + python-version: '3.7' + + - name: Install cibuildwheel + run: | + python -m pip install git+https://github.com/joerick/cibuildwheel.git@f6eaa9f + + - uses: ilammy/msvc-dev-cmd@v1 + + - name: Build 64-bit wheel + run: python -m cibuildwheel --output-dir wheelhouse - uses: actions/upload-artifact@v2 with: path: ./wheelhouse/*.whl + + build_wheels_python27_windows_32: + needs: [test_python] + name: Build wheel for python2.7 on windows-latest 32 bit + runs-on: windows-latest + env: + CIBW_BUILD: cp27-win32 pp27-win32 + DISTUTILS_USE_SDK: 1 + MSSdk: 1 + + steps: + - uses: actions/checkout@v1 + with: + submodules: 'true' + + - uses: actions/setup-python@v1 + name: Install Python + with: + python-version: '3.7' + + - name: Install cibuildwheel + run: | + python -m pip install git+https://github.com/joerick/cibuildwheel.git@f6eaa9f + + - uses: ilammy/msvc-dev-cmd@v1 + with: + arch: x86 + + - name: Build 64-bit wheel + run: python -m cibuildwheel --output-dir wheelhouse + + - uses: actions/upload-artifact@v2 + with: + path: ./wheelhouse/*.whl + + build_sdist: needs: [test_python] name: Build source distribution @@ -105,7 +173,7 @@ jobs: deploy-wheels: if: github.event_name == 'release' && github.event.action == 'published' - needs: [build_wheels, build_sdist] + needs: [build_wheels, build_wheels_python27_windows_64, build_wheels_python27_windows_32, build_sdist] name: deploy wheels to pypi runs-on: ubuntu-18.04 diff --git a/VERSION b/VERSION index aa22d3ce..e01e0ddd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.12.3 +0.12.4 diff --git a/src/rapidfuzz/__init__.py b/src/rapidfuzz/__init__.py index a3aa8da6..4f038e0a 100644 --- a/src/rapidfuzz/__init__.py +++ b/src/rapidfuzz/__init__.py @@ -3,6 +3,6 @@ """ __author__ = "Max Bachmann" __license__ = "MIT" -__version__ = "0.12.3" +__version__ = "0.12.4" from rapidfuzz import process, fuzz, levenshtein, utils