Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.

Commit 2742b85

Browse files
james0209Pasarus
andauthored
Switch from setup.py to pyproject.toml (AR-1624) (#1459)
* Switch to pyproject.toml * pypa/setuptools#3197 (comment) * Remove no-self-use * Update package build * Update pyproject.toml * Fix module not found issue * Fix formatting 1 Co-authored-by: Samuel Jones <samjones714@gmail.com> * Fix formatting 2 Co-authored-by: Samuel Jones <samjones714@gmail.com> * Fix formatting 3 Co-authored-by: Samuel Jones <samjones714@gmail.com> Co-authored-by: Samuel Jones <samjones714@gmail.com>
1 parent a97815a commit 2742b85

File tree

9 files changed

+69
-517
lines changed

9 files changed

+69
-517
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
- name: Build package for publishing
5454
if: ${{ github.ref == 'refs/heads/main' }}
55-
run: python3 -m pip install wheel && python3 setup.py sdist bdist_wheel
55+
run: python3 -m pip install --upgrade build wheel && python -m build
5656

5757
- name: Publish distribution 📦 to PyPI
5858
if: ${{ github.ref == 'refs/heads/main' }}
@@ -66,7 +66,7 @@ jobs:
6666
strategy:
6767
fail-fast: false
6868
matrix:
69-
python-version: ["3.6", "3.8"]
69+
python-version: ["3.8"]
7070

7171
steps:
7272
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)