Skip to content

Commit

Permalink
Merge pull request #113 from twisted/112-fix-release
Browse files Browse the repository at this point in the history
Drop setup.py entirely
  • Loading branch information
mithrandi authored Feb 1, 2020
2 parents caead00 + 86c8253 commit 8294eac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 0 additions & 2 deletions setup.py

This file was deleted.

0 comments on commit 8294eac

Please sign in to comment.