We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33bd624 commit 9adb894Copy full SHA for 9adb894
.github/workflows/release.yml
@@ -33,11 +33,10 @@ jobs:
33
- name: Install dependencies
34
run: |
35
python -m pip install --upgrade pip
36
- pip install setuptools wheel twine
37
- - name: Build and publish
38
- env:
39
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
40
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
41
- run: |
42
- python setup.py sdist bdist_wheel
43
- twine upload dist/*
+ pip install build twine
+ - name: Build package
+ run: python -m build
+ - name: Publish to PyPI
+ uses: pypa/gh-action-pypi-publish@release/v1
+ with:
+ password: ${{ secrets.PYPI_API_TOKEN }}
setup.cfg
@@ -1,2 +1,2 @@
1
[metadata]
2
-description-file = README.md
+description_file = README.md
0 commit comments