mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 01:45:06 +03:00
huggingface: Use new brewkit python venv machinery
This commit is contained in:
parent
bc08c8228a
commit
d64877c52a
1 changed files with 7 additions and 3 deletions
|
@ -4,15 +4,19 @@ distributable:
|
|||
|
||||
display-name: huggingface/cli
|
||||
|
||||
# if there’s a github then we can parse the versions
|
||||
versions:
|
||||
github: huggingface/huggingface_hub
|
||||
|
||||
dependencies:
|
||||
python.org: ~3.11
|
||||
pkgx.sh: ^1
|
||||
|
||||
build:
|
||||
python-venv.sh {{prefix}}/bin/huggingface-cli
|
||||
dependencies:
|
||||
python.org: ~3.11
|
||||
script:
|
||||
- bkpyvenv stage {{prefix}} {{version}}
|
||||
- ${{prefix}}/venv/bin/pip install .
|
||||
- bkpyvenv seal {{prefix}} huggingface-cli
|
||||
|
||||
provides:
|
||||
- bin/huggingface-cli
|
||||
|
|
Loading…
Reference in a new issue