mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
28 lines
697 B
YAML
28 lines
697 B
YAML
|
distributable:
|
||
|
url: git+https://github.com/vanna-ai/vanna.git
|
||
|
ref: ${{version.tag}}
|
||
|
|
||
|
display-name: Vanna
|
||
|
|
||
|
versions:
|
||
|
github: vanna-ai/vanna
|
||
|
|
||
|
dependencies:
|
||
|
python.org: ^3.12
|
||
|
|
||
|
runtime:
|
||
|
env:
|
||
|
PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH
|
||
|
|
||
|
build:
|
||
|
- python -m pip install . --prefix={{prefix}}
|
||
|
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
|
||
|
working-directory: ${{prefix}}/lib
|
||
|
|
||
|
test:
|
||
|
dependencies:
|
||
|
curl.se: '*'
|
||
|
script:
|
||
|
- pip install pytest
|
||
|
- curl -L "https://raw.githubusercontent.com/vanna-ai/vanna/main/tests/test_vanna.py" -o test_vanna.py
|
||
|
- python test_vanna.py
|