Prevent fallback to setup.py when building package
This commit is contained in:
parent
4a9ea368b8
commit
f024613800
3
.github/workflows/publish-to-pypi.yml
vendored
3
.github/workflows/publish-to-pypi.yml
vendored
@ -29,6 +29,9 @@ jobs:
|
||||
build setuptools twine
|
||||
--user
|
||||
|
||||
- name: Prevent fallback onto setup.py
|
||||
run: rm setup.py
|
||||
|
||||
- name: Build a binary wheel and a source tarball
|
||||
run: python3 -m build
|
||||
|
||||
|
3
.github/workflows/publish-to-test-pypi.yml
vendored
3
.github/workflows/publish-to-test-pypi.yml
vendored
@ -29,6 +29,9 @@ jobs:
|
||||
build setuptools twine
|
||||
--user
|
||||
|
||||
- name: Prevent fallback onto setup.py
|
||||
run: rm setup.py
|
||||
|
||||
- name: Build a binary wheel and a source tarball
|
||||
run: python3 -m build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user