summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-10-25 10:47:56 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-10-25 10:47:56 -0400
commit349b2f8e1b7f7be6cafed723820e87109407a6af (patch)
tree57c91b08f6b9a6005f31bd0c8d75243870a556b7
parent2d2d6088b94845ffc4062853aa7230879ee66a44 (diff)
downloadpython-coveragepy-git-nedbat/pypy-kit-without-setup-py.tar.gz
build: make PyPy kits without invoking setup.py directlynedbat/pypy-kit-without-setup-py
-rw-r--r--.github/workflows/kit.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/kit.yml b/.github/workflows/kit.yml
index dff56cda..99603087 100644
--- a/.github/workflows/kit.yml
+++ b/.github/workflows/kit.yml
@@ -114,9 +114,10 @@ jobs:
- name: "Build wheels"
run: |
- pypy3 setup.py bdist_wheel --python-tag pp36
- pypy3 setup.py bdist_wheel --python-tag pp37
- pypy3 setup.py bdist_wheel --python-tag pp38
+ # yes, this is weird syntax: https://github.com/pypa/build/issues/202
+ pypy3 -m build -w -C="--global-option=--python-tag" -C="--global-option=pp36"
+ pypy3 -m build -w -C="--global-option=--python-tag" -C="--global-option=pp37"
+ pypy3 -m build -w -C="--global-option=--python-tag" -C="--global-option=pp38"
ls -al dist/
- name: "Upload wheels"