Merge branch 'feature_poetry' of https://github.com/bostonrwalker/libzt into bostonrwalker-feature_poetry
This commit is contained in:
14
.github/workflows/wheels.yml
vendored
14
.github/workflows/wheels.yml
vendored
@@ -24,6 +24,9 @@ jobs:
|
||||
run: sudo apt-get install swig
|
||||
|
||||
- uses: actions/setup-python@v2
|
||||
|
||||
- name: Install poetry
|
||||
run: python -m pip install poetry==1.1.12
|
||||
|
||||
- name: Install cibuildwheel
|
||||
run: python -m pip install cibuildwheel==1.10.0
|
||||
@@ -31,15 +34,8 @@ jobs:
|
||||
- name: Build wheels
|
||||
env:
|
||||
CIBW_ARCHS: auto
|
||||
CIBW_BUILD: cp35-* cp36-* cp37-* cp38-* cp39-*
|
||||
CIBW_BEFORE_BUILD: >
|
||||
ln -s $(pwd) pkg/pypi/native;
|
||||
cp -f src/bindings/python/*.py pkg/pypi/libzt/;
|
||||
cd pkg/pypi;
|
||||
python setup.py build_clib
|
||||
run: |
|
||||
swig -c++ -python -o src/bindings/python/zt_wrap.cxx -Iinclude src/bindings/python/zt.i
|
||||
python -m cibuildwheel pkg/pypi --output-dir wheelhouse
|
||||
CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-*
|
||||
run: python -m cibuildwheel pkg/pypi --output-dir wheelhouse
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
||||
@@ -47,7 +47,7 @@ packages = [
|
||||
build = "build.py"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.5"
|
||||
python = "^3.6"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user