File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,14 @@ jobs:
16
16
- name : Install dependencies
17
17
run : |
18
18
python -m pip install --upgrade pip
19
- pip install setuptools wheel twine
19
+ pip install --upgrade setuptools
20
+ pip install --upgrade build
21
+ pip install --upgrade twine
20
22
pip install -r requirements.txt
21
23
- name : Build and publish
22
24
env :
23
25
TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
24
26
TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
25
27
run : |
26
- python setup.py sdist
27
- twine upload dist/*
28
+ python -m build
29
+ python -m twine upload dist/*
Original file line number Diff line number Diff line change 1
- __version__ = "5.0 .0"
1
+ __version__ = "5.1 .0"
Original file line number Diff line number Diff line change 2
2
--requirement requirements.txt
3
3
4
4
setuptools >= 67.7.1
5
+ build >= 0.10.0
6
+ twine >= 4.0.0
5
7
6
8
# Testing
7
9
pytest
You can’t perform that action at this time.
0 commit comments