diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 02edbb96..6c6a87fe 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,11 +20,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel twine + python -m pip install setuptools wheel twine pep517 - name: Build and publish env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: | - python setup.py sdist bdist_wheel + python -m pep517.build --binary --source . twine upload dist/* diff --git a/README.rst b/README.rst index 7289d5a7..e2d93a4e 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ -.. image:: https://travis-ci.org/twisted/axiom.svg?branch=master - :target: https://travis-ci.org/twisted/axiom +.. image:: https://github.com/twisted/axiom/workflows/Python%20package/badge.svg?branch=master&event=push + :target: https://github.com/twisted/axiom/actions?query=event%3Apush+branch%3Amaster+workflow%3A%22Python+package%22 .. image:: https://codecov.io/github/twisted/axiom/coverage.svg?branch=master :target: https://codecov.io/github/twisted/axiom?branch=master diff --git a/setup.py b/setup.py deleted file mode 100644 index 460aabeb..00000000 --- a/setup.py +++ /dev/null @@ -1,2 +0,0 @@ -from setuptools import setup -setup(use_scm_version=True)