Skip to content

Commit cb05fc0

Browse files
Update Github actions to use newer build script
1 parent 62c0421 commit cb05fc0

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
run: pip install wheel requests
1919

2020
- name: Build Linux wheel (manylinux_x86_64)
21-
run: python setup.py bdist_wheel --python-tag py3 --plat-name manylinux2014_x86_64
21+
run: python build_wheels.py
2222

2323
- name: Store wheel filename
2424
run: echo "WHEEL_NAME=$(ls dist/*.whl | head -n 1)" >> $GITHUB_ENV
@@ -43,7 +43,7 @@ jobs:
4343
run: pip install wheel requests
4444

4545
- name: Build Windows wheel (win_amd64)
46-
run: python setup.py bdist_wheel --plat-name win_amd64
46+
run: python build_wheels.py
4747

4848
- name: Store wheel filename
4949
shell: powershell
@@ -72,7 +72,7 @@ jobs:
7272

7373
- name: Build macOS wheel (macosx_universal2)
7474
run: |
75-
python setup.py bdist_wheel --python-tag py3 --plat-name macosx_10_9_universal2
75+
python build_wheels.py
7676
7777
- name: Store wheel filename
7878
run: echo "WHEEL_NAME=$(ls dist/*.whl | head -n 1)" >> $GITHUB_ENV

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,12 @@ After every release in lib3mf repository, one simply needs to run the `prepare_p
88
python prepare_pypi_release 2.3.2
99
```
1010

11-
Based on the version number, all the necessary artifacts are automatically updated in the repository and it simply needs to be pushed to git
11+
Based on the version number, all the necessary artifacts are automatically updated in the repository and it simply needs to be pushed to git
12+
13+
For manually building, kindly run the following script
14+
15+
```shell
16+
python build_wheels.py
17+
```
18+
19+
This will automatically recognize the platform and build the relevant wheel

0 commit comments

Comments
 (0)