Fix Python libraries' names to prepare for releasing

This commit is contained in:
thunderbiscuit
2023-04-25 12:33:48 -04:00
parent d8718c3f05
commit 89e85a20cf
3 changed files with 21 additions and 10 deletions

View File

@@ -39,11 +39,13 @@ jobs:
- name: "Install requirements"
run: ${PYBIN}/pip install -r requirements.txt
- name: "Generate bdk.py"
- name: "Generate bdk.py and binaries"
run: bash generate.sh
- name: "Build wheel"
run: ${PYBIN}/python setup.py bdist_wheel --verbose
# Specifying the plat-name argument is necessary to build a wheel with the correct name,
# see issue #350 for more information
run: ${PYBIN}/python setup.py bdist_wheel --plat-name manylinux_2_17_x86_64 --verbose
- uses: actions/upload-artifact@v2
with:
@@ -71,7 +73,7 @@ jobs:
with:
python-version: ${{ matrix.python }}
- name: "Generate bdk.py"
- name: "Generate bdk.py and binaries"
run: |
python3 --version
rustup target add aarch64-apple-darwin
@@ -81,7 +83,9 @@ jobs:
- name: "Build wheel"
env:
ARCHFLAGS: "-arch x86_64 -arch arm64"
run: python3 setup.py bdist_wheel --verbose
# Specifying the plat-name argument is necessary to build a wheel with the correct name,
# see issue #350 for more information
run: python3 setup.py bdist_wheel --plat-name macosx_12_0_universal2 --verbose
- uses: actions/upload-artifact@v2
with:
@@ -109,7 +113,7 @@ jobs:
with:
python-version: ${{ matrix.python }}
- name: "Generate bdk.py"
- name: "Generate bdk.py and binaries"
run: |
python --version
pip install --user -r requirements.txt