Skip to content

Commit e411e8b

Browse files
committed
Fix packaging
1 parent d5eda9f commit e411e8b

File tree

3 files changed

+6
-28
lines changed

3 files changed

+6
-28
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
API_KEY: ${{ secrets.API_KEY }}
1717

1818
jobs:
19-
build-and-test:
19+
build-and-test-python3:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v4
@@ -36,7 +36,7 @@ jobs:
3636
run: |
3737
python -m unittest discover
3838
39-
run-integration-tests:
39+
run-integration-tests-python3:
4040
runs-on: ubuntu-latest
4141
if: ${{ github.ref == 'refs/heads/master' }}
4242
steps:

.github/workflows/publishing2PyPI.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ jobs:
2727
fi
2828
- name: Create distribution files
2929
run: |
30-
python3 setup.py sdist
30+
python -m pip install build
31+
python -m build
3132
- name: Upload distribution files
3233
env:
3334
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
3435
TWINE_USER: ${{ secrets.USER }}
3536
run: |
36-
python3 -m pip install --user --upgrade twine
37-
ls dist/ | xargs -I % python3 -m twine upload --repository pypi dist/%
37+
python -m pip install --user --upgrade twine
38+
ls dist/ | xargs -I % python -m twine upload --repository pypi dist/%

.travis.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)