From 826feb6074f79b64ad89b6a51ae0b64525f2dfb0 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Mon, 8 Jan 2024 11:18:51 -0500 Subject: [PATCH] fix(kaggle) closes #4774 --- projects/kaggle.com/package.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/projects/kaggle.com/package.yml b/projects/kaggle.com/package.yml index a03e7c52..191d7de4 100644 --- a/projects/kaggle.com/package.yml +++ b/projects/kaggle.com/package.yml @@ -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}} \ No newline at end of file + - mkdir -p $HOME/.kaggle + - echo '{"username":"testname","key":"testkey"}' > $HOME/.kaggle/kaggle.json + - kaggle --version | grep {{version}}