Skip to content

Commit 3334528

Browse files
committed
Build with 'build'
1 parent f288da1 commit 3334528

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install dependencies
1717
run: |
1818
python -m pip install --upgrade pip
19-
pip install setuptools wheel twine
19+
pip install build twine
2020
- name: Build and publish
2121
env:
2222
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ release-test: sdist
2020
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
2121

2222
sdist: clean
23-
python setup.py sdist bdist_wheel
23+
python -m build -d dist .
2424
ls -l dist
2525

2626
test:

0 commit comments

Comments
 (0)