Include more files in distributions (#4964)

* Include LICENSE files in distributions

* Use pep517 isolated builds

* Update the GH Actions workflow
This commit is contained in:
jack1142
2021-04-08 02:35:47 +02:00
committed by GitHub
parent 0eaa0f494c
commit aea0db4ef6
4 changed files with 37 additions and 13 deletions

View File

@@ -19,13 +19,13 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install build twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.pypi_token }}
run: |
python setup.py sdist bdist_wheel
python -m build
twine upload dist/*
pr_dev_bump: