Explorar o código

Build with PEP 517

Unrud %!s(int64=3) %!d(string=hai) anos
pai
achega
d8604becd0
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      .github/workflows/pypi-publish.yml

+ 2 - 2
.github/workflows/pypi-publish.yml

@@ -12,9 +12,9 @@ jobs:
         with:
           python-version: 3.x
       - name: Install build dependencies
-        run: pip install setuptools wheel
+        run: pip install build
       - name: Build
-        run: python setup.py sdist bdist_wheel
+        run: python -m build --sdist --wheel
       - name: Publish to PyPI
         uses: pypa/gh-action-pypi-publish@master
         with: