mirror of
https://github.com/ivabus/pantry
synced 2024-11-09 18:15:18 +03:00
parent
f75fb1e0e5
commit
826feb6074
|
@ -4,17 +4,20 @@ distributable:
|
|||
versions:
|
||||
github: Kaggle/kaggle-api
|
||||
dependencies:
|
||||
python.org: ^3.12
|
||||
pkgx.sh: ^1
|
||||
build:
|
||||
dependencies:
|
||||
python.org: ^3.12
|
||||
linux:
|
||||
llvm.org: '*'
|
||||
script:
|
||||
- python-venv.sh {{prefix}}/bin/kaggle
|
||||
- bkpyvenv stage {{prefix}} {{version}}
|
||||
- ${{prefix}}/venv/bin/pip install .
|
||||
- bkpyvenv seal {{prefix}} kaggle
|
||||
provides:
|
||||
- bin/kaggle
|
||||
test:
|
||||
script:
|
||||
- mkdir -p .kaggle
|
||||
- echo '{"username":"testname","key":"testkey"}' > .kaggle/kaggle.json
|
||||
- kaggle --version | grep {{version}}
|
||||
- mkdir -p $HOME/.kaggle
|
||||
- echo '{"username":"testname","key":"testkey"}' > $HOME/.kaggle/kaggle.json
|
||||
- kaggle --version | grep {{version}}
|
||||
|
|
Loading…
Reference in a new issue