2022-09-21 21:53:45 +00:00
|
|
|
image: python:3.10-slim
|
|
|
|
|
|
|
|
variables:
|
|
|
|
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
|
|
|
|
|
|
|
cache:
|
|
|
|
paths:
|
|
|
|
- .cache/pip
|
|
|
|
- venv/
|
|
|
|
|
|
|
|
package_pip:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- python --version
|
|
|
|
- pip install pipenv build
|
2022-09-21 21:56:18 +00:00
|
|
|
- pipenv sync --dev
|
2022-09-21 21:53:45 +00:00
|
|
|
- pipenv run python -m build -w
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- dist/*.whl
|