summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2023-02-04 13:44:19 -0800
committerBob Ippolito <bob@redivi.com>2023-02-04 15:37:45 -0800
commitfb7f4004788aa939af4e766262a02b9bad0f70a9 (patch)
tree423c9bde714beb0dcc8649a3336031e1c19183c7 /.github
parentc891b95f40711e3dcd23bd4180b5665dce3a2032 (diff)
downloadsimplejson-fb7f4004788aa939af4e766262a02b9bad0f70a9.tar.gz
Fix #307. Build a pure python wheel
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-and-deploy.yml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml
index 7f60e04..d6b8004 100644
--- a/.github/workflows/build-and-deploy.yml
+++ b/.github/workflows/build-and-deploy.yml
@@ -67,13 +67,18 @@ jobs:
with:
python-version: '3.11'
- - name: Build sdist
- run: python setup.py sdist
+ - name: Install dependencies
+ run: python -m pip install --upgrade pip setuptools wheel
+
+ - name: Build sdist and wheel
+ run: DISABLE_SPEEDUPS=1 python setup.py sdist bdist_wheel
- uses: actions/upload-artifact@v2
if: "github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')"
with:
- path: dist/*.tar.gz
+ path: |
+ dist/*.tar.gz
+ dist/*-none-any.whl
upload_pypi:
needs: [build_wheels, build_sdist]