Skip to content

Commit

Permalink
setup.py: bump version to 0.13.4.post0
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Jun 4, 2021
1 parent 35e9105 commit 6d8596c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,19 @@ jobs:
python -m pip install --upgrade pip setuptools wheel
python -m pip install cibuildwheel==2.0.0a2
- name: Download Patch 1/1
uses: suisei-cn/actions-download-file@v1
id: setupversion
with:
url: "https://gist.githubusercontent.com/ax3l/ee247f0705f918f8b4e325075230f015/raw/8357643c15b99d9048505a729c398312ddd8f152/setupversion.patch"
target: src/.patch/

- name: Apply Patch
run: |
python -m pip install "patch==1.*"
cd src
python -m patch .patch/setupversion.patch
- name: Build wheel
env:
# (1) CMake/Pybind11 scripts not clever enough to build 32bit Windows with 64bit compiler
Expand Down
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,15 @@ install:
# https://github.com/scikit-build/cmake-python-distributions/blob/4730aeee240917303f293dffc89a8d8d5a4787c4/requirements-deploy.txt
# https://github.com/pyca/cryptography/issues/6086
- python3 -m pip install twine cryptography~=3.3.2
- python3 -m pip install "patch==1.*"

before_script:
- mkdir -p src/.patch
- cd src/.patch
- curl -sOL https://gist.githubusercontent.com/ax3l/ee247f0705f918f8b4e325075230f015/raw/8357643c15b99d9048505a729c398312ddd8f152/setupversion.patch
- cd ..
- python3 -m patch .patch/setupversion.patch
- cd ..

script:
- cd src
Expand Down

0 comments on commit 6d8596c

Please sign in to comment.