Skip to content
Snippets Groups Projects
Commit 3c1786e9 authored by nimrod's avatar nimrod
Browse files

Build wheels using build.

Solves the issue with twine complaining about syntax errors in the
long_description.
parent ef50e93d
No related branches found
No related tags found
No related merge requests found
Pipeline #2047 failed
......@@ -17,11 +17,12 @@ build-wheel:
extends: .python3-build
script:
- python3 setup.py check --verbose --metadata --restructuredtext --strict
- python3 setup.py bdist_wheel
- python3 -m build
after_script:
- twine check dist/*.whl
- &twine_check twine check dist/*.whl
artifacts:
paths:
- dist/*.tar.gz
- dist/*.whl
.install-wheel:
......@@ -48,7 +49,7 @@ pypi-upload:
extends: .python3-build
stage: deploy
script:
- twine check dist/*
- *twine_check
- twine upload --config-file "$pypirc" dist/*
rules:
- if: $CI_COMMIT_TAG && ($SKIP_PYPI_UPLOAD == null)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment