2023-05-08 16:39:44 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/Significant-Gravitas/Auto-GPT/archive/refs/tags/v{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
2023-07-12 18:48:45 +03:00
|
|
|
display-name: Auto-GPT
|
|
|
|
|
2023-05-08 16:39:44 +03:00
|
|
|
versions:
|
|
|
|
github: Significant-Gravitas/Auto-GPT
|
|
|
|
|
|
|
|
platforms:
|
|
|
|
- darwin
|
|
|
|
|
2023-07-30 15:00:35 +03:00
|
|
|
entrypoint: tea ./entrypoint.sh
|
|
|
|
|
2023-05-08 16:39:44 +03:00
|
|
|
dependencies:
|
2023-10-03 18:23:56 +03:00
|
|
|
python.org: '>=3.10<3.12'
|
2023-05-08 16:39:44 +03:00
|
|
|
redis.io: ^7
|
2023-07-30 15:00:35 +03:00
|
|
|
tea.xyz: ^0
|
2023-05-08 16:39:44 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
script:
|
2023-05-09 00:38:04 +03:00
|
|
|
# `pip install` seems to miss some vital .json files, so we must manually copy
|
|
|
|
# we copy everything as we're not 100% sure which files are missing
|
|
|
|
# we do this first so any file movements from `pip install` takes precedence
|
2023-10-02 03:41:57 +03:00
|
|
|
- run: cp -R $SRCROOT/autogpt .
|
|
|
|
working-directory: ${{prefix}}/venv/lib/python{{deps.python.org.version.marketing}}/site-packages
|
2023-05-09 00:38:04 +03:00
|
|
|
|
2023-05-08 16:39:44 +03:00
|
|
|
- python-venv.py {{prefix}}/bin/auto-gpt --requirements-txt
|
2023-05-30 20:48:03 +03:00
|
|
|
|
2023-05-08 16:39:44 +03:00
|
|
|
# still pretty new and thus provides no executable, so we made one
|
|
|
|
- cp props/auto-gpt {{prefix}}/venv/bin
|
|
|
|
|
2023-10-02 03:41:57 +03:00
|
|
|
- working-directory: '{{prefix}}/share'
|
2023-07-31 18:17:36 +03:00
|
|
|
run: |
|
|
|
|
cp $SRCROOT/.env.template env.template
|
|
|
|
cp $SRCROOT/prompt_settings.yaml .
|
2023-05-30 20:48:03 +03:00
|
|
|
|
2023-07-30 15:00:35 +03:00
|
|
|
- cp props/entrypoint.sh {{prefix}}
|
|
|
|
|
2023-05-08 16:39:44 +03:00
|
|
|
provides:
|
|
|
|
- bin/auto-gpt
|
|
|
|
|
|
|
|
test:
|
2023-06-09 20:51:55 +03:00
|
|
|
qa-required: true
|
|
|
|
script: auto-gpt --help
|