image: python:3.10-slim variables: PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" PIPENV_VENV_IN_PROJECT: 1 cache: paths: - .cache/pip - .venv/ package_pip: stage: build script: - python --version - pip install pipenv build - pipenv sync --dev - pipenv run python -m build -w artifacts: paths: - dist/*.whl