pantry/projects/palletsprojects.com/click/package.yml
2024-01-22 12:32:31 -05:00

22 lines
541 B
YAML

distributable:
url: git+https://github.com/pallets/click.git
ref: ${{version.tag}}
display-name: python-click
versions:
github: pallets/click
dependencies:
python.org: '>=3.11'
runtime:
env:
PYTHONPATH: ${{prefix}}/lib/python3/site-packages:$PYTHONPATH
build:
- python -m pip install --prefix={{prefix}} .
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
working-directory: ${{prefix}}/lib
test: python -c "import click; print(click.__version__)" | grep {{version}}