Skip to content
Snippets Groups Projects
Commit 047d3ebe authored by nimrod's avatar nimrod
Browse files

Python template: Run setuptools check only if setup.py exists.

parent 60e6a52d
Branches
No related tags found
No related merge requests found
Pipeline #2852 passed
...@@ -16,7 +16,9 @@ ...@@ -16,7 +16,9 @@
build-wheel: build-wheel:
extends: .python3-build extends: .python3-build
script: script:
- python3 setup.py check --verbose --metadata --restructuredtext --strict - >-
[ ! -f setup.py ] ||
python3 setup.py check --verbose --metadata --restructuredtext --strict
- python3 -m build - python3 -m build
after_script: after_script:
- &twine_check twine check dist/*.whl - &twine_check twine check dist/*.whl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment