Skip to content

Commit f4b3365

Browse files
committed
Don't use setup.py in CI as it no longer exists
1 parent e167f8a commit f4b3365

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test_and_deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ jobs:
4848
with:
4949
python-version: '3.10'
5050
- name: Ensure latest pip, wheel & setuptools
51-
run: python -m pip install -q --upgrade pip wheel setuptools
51+
run: python -m pip install -q --upgrade pip build wheel setuptools
5252
- uses: actions/checkout@v4
5353
- name: Generate sdist
5454
run: |
55-
NLE_RELEASE_BUILD=1 python setup.py sdist
55+
NLE_RELEASE_BUILD=1 python -m build sdist
5656
- name: Install from sdist
5757
run: |
5858
SDISTNAME=$(ls dist/)
@@ -74,11 +74,11 @@ jobs:
7474
with:
7575
python-version: 3.13
7676
- name: Ensure latest pip, wheel & setuptools
77-
run: python -m pip install -q --upgrade pip wheel setuptools
77+
run: python -m pip install -q --upgrade pip build wheel setuptools
7878
- uses: actions/checkout@v4
7979
- name: Generate sdist
8080
run: |
81-
NLE_RELEASE_BUILD=1 python setup.py sdist
81+
NLE_RELEASE_BUILD=1 python -m build sdist
8282
- name: Install from sdist
8383
run: |
8484
SDISTNAME=$(ls dist/)

0 commit comments

Comments
 (0)