mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 09:55: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
|
display-name: huggingface/cli
|
||||||
|
|
||||||
# if there’s a github then we can parse the versions
|
|
||||||
versions:
|
versions:
|
||||||
github: huggingface/huggingface_hub
|
github: huggingface/huggingface_hub
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
python.org: ~3.11
|
pkgx.sh: ^1
|
||||||
|
|
||||||
build:
|
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:
|
provides:
|
||||||
- bin/huggingface-cli
|
- bin/huggingface-cli
|
||||||
|
|
Loading…
Reference in a new issue