fix(kaggle)

closes #4774
This commit is contained in:
Jacob Heider 2024-01-08 11:18:51 -05:00 committed by Jacob Heider
parent f75fb1e0e5
commit 826feb6074

View file

@ -4,17 +4,20 @@ distributable:
versions: versions:
github: Kaggle/kaggle-api github: Kaggle/kaggle-api
dependencies: dependencies:
python.org: ^3.12 pkgx.sh: ^1
build: build:
dependencies: dependencies:
python.org: ^3.12
linux: linux:
llvm.org: '*' llvm.org: '*'
script: script:
- python-venv.sh {{prefix}}/bin/kaggle - bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} kaggle
provides: provides:
- bin/kaggle - bin/kaggle
test: test:
script: script:
- mkdir -p .kaggle - mkdir -p $HOME/.kaggle
- echo '{"username":"testname","key":"testkey"}' > .kaggle/kaggle.json - echo '{"username":"testname","key":"testkey"}' > $HOME/.kaggle/kaggle.json
- kaggle --version | grep {{version}} - kaggle --version | grep {{version}}