diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6934c3ca..3f3184fc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -126,6 +126,12 @@ jobs: with: path: tmp/ + - name: Prepare source distribution + run: | + python3 -m pip install --upgrade setuptools + python3 setup.py sdist + + - name: Zip releases run: | mkdir releases @@ -149,9 +155,7 @@ jobs: prerelease: ${{ steps.patch-version.outputs.is_dev }} - name: Extract artifacts - run: | - mkdir dist - find tmp -type f -name "*.whl" | xargs -I {} mv {} dist + run: find tmp -type f -name "*.whl" | xargs -I {} mv {} dist - name: Publish a Python distribution to PyPI. if: github.ref == 'refs/heads/master' && github.repository == 'pytgcalls/ntgcalls' diff --git a/setup.py b/setup.py index e84a434a..874bd0d9 100644 --- a/setup.py +++ b/setup.py @@ -188,7 +188,6 @@ def run(self): 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: Implementation :: CPython', - 'Programming Language :: Python :: Implementation :: PyPy', ], ext_modules=[CMakeExtension("ntgcalls")], cmdclass={