add wheels for Python2.7 on Windows (#47)
This commit is contained in:
parent
a0a84f99c4
commit
9b64ad2fee
|
@ -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
|
||||
|
||||
|
|
|
@ -3,6 +3,6 @@ rapid string matching library
|
|||
"""
|
||||
__author__ = "Max Bachmann"
|
||||
__license__ = "MIT"
|
||||
__version__ = "0.12.3"
|
||||
__version__ = "0.12.4"
|
||||
|
||||
from rapidfuzz import process, fuzz, levenshtein, utils
|
||||
|
|
Loading…
Reference in New Issue