Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
Change source distribution builds to use `build` instead of the setup.py file.
  • Loading branch information
Mayitzin committed Jun 27, 2024
1 parent 606dd5d commit ea5d2d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest setuptools wheel
pip install flake8 pytest setuptools wheel build
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install .
- name: Build binary wheel and source tarball
run: |
python setup.py sdist bdist_wheel
python -m build --sdist --wheel
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down

0 comments on commit ea5d2d6

Please sign in to comment.