Skip to content

Commit 63f2f62

Browse files
committed
update build command
1 parent 2c25123 commit 63f2f62

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ jobs:
2323
pip install -U -r requirements.txt
2424
- name: Build Python Package
2525
run: |
26-
pip install --upgrade pip wheel setuptools
27-
python setup.py bdist_wheel --universal
26+
pip install --upgrade pip wheel setuptools build
27+
python3 -m build

.github/workflows/pypi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
- name: Install Python Dependencies
2626
run: |
2727
pip install -U -r requirements.txt
28-
pip install --upgrade wheel setuptools twine
28+
pip install --upgrade wheel setuptools twine build
2929
- name: Build Binary
3030
run: |
31-
python3 setup.py sdist bdist_wheel --universal
31+
python3 -m build
3232
- name: Publish
3333
run: |
3434
python3 -m twine upload dist/*

0 commit comments

Comments
 (0)