From 67d89ef1ee4fde3bf17815e0d0e4adadca1b0718 Mon Sep 17 00:00:00 2001 From: Keming Date: Tue, 14 Jun 2022 00:16:57 +0800 Subject: [PATCH] fix: pypi sdist Signed-off-by: Keming --- .github/workflows/release.yml | 4 ++++ .gitignore | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index efc16bcef..af03019d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,6 +76,10 @@ jobs: uses: pypa/cibuildwheel@v2.6.1 env: CIBW_ARCHS: auto64 + - name: Build source distribution + run: | + python setup.py sdist + mv dist/*.tar.gz wheelhouse/ - name: Upload to PyPI env: TWINE_USERNAME: __token__ diff --git a/.gitignore b/.gitignore index 27da3685d..613cc27b3 100644 --- a/.gitignore +++ b/.gitignore @@ -58,6 +58,7 @@ parts/ sdist/ var/ wheels/ +wheelhouse/ pip-wheel-metadata/ share/python-wheels/ *.egg-info/