Migrate from setup.* to pyproject.toml
This commit is contained in:
parent
54a9f04f8f
commit
98943d606e
8 changed files with 96 additions and 84 deletions
5
.github/workflows/deploy.yml
vendored
5
.github/workflows/deploy.yml
vendored
|
@ -22,9 +22,9 @@ jobs:
|
|||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.10"
|
||||
python-version: "3.x"
|
||||
cache: pip
|
||||
cache-dependency-path: setup.cfg
|
||||
cache-dependency-path: pyproject.toml
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
@ -33,7 +33,6 @@ jobs:
|
|||
|
||||
- name: Build package
|
||||
run: |
|
||||
python setup.py --version
|
||||
python -m build
|
||||
twine check --strict dist/*
|
||||
|
||||
|
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: pip
|
||||
cache-dependency-path: setup.cfg
|
||||
cache-dependency-path: pyproject.toml
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
@ -48,7 +48,7 @@ jobs:
|
|||
success:
|
||||
needs: test
|
||||
runs-on: ubuntu-latest
|
||||
name: test successful
|
||||
name: Test successful
|
||||
steps:
|
||||
- name: Success
|
||||
run: echo Test successful
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue