2023-12-21 17:06:41 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/geekan/MetaGPT/archive/v{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
2024-01-04 22:11:49 +03:00
|
|
|
|
2023-12-21 17:06:41 +03:00
|
|
|
display-name: MetaGPT
|
2024-01-04 22:11:49 +03:00
|
|
|
|
2023-12-21 17:06:41 +03:00
|
|
|
versions:
|
|
|
|
github: geekan/MetaGPT
|
2024-01-04 22:11:49 +03:00
|
|
|
|
2023-12-21 17:06:41 +03:00
|
|
|
dependencies:
|
2024-01-04 22:11:49 +03:00
|
|
|
pkgx.sh: ^1
|
|
|
|
|
2023-12-21 17:06:41 +03:00
|
|
|
build:
|
2024-01-04 22:11:49 +03:00
|
|
|
dependencies:
|
|
|
|
# Python 3.12 ==> ModuleNotFoundError: No module named 'distutils'
|
|
|
|
python.org: '>=3.9<3.12'
|
|
|
|
script:
|
|
|
|
- bkpyvenv stage {{prefix}} {{version}}
|
|
|
|
- ${{prefix}}/venv/bin/pip install .
|
|
|
|
- bkpyvenv seal {{prefix}} metagpt
|
|
|
|
|
2023-12-21 17:06:41 +03:00
|
|
|
provides:
|
|
|
|
- bin/metagpt
|
2024-01-04 22:11:49 +03:00
|
|
|
|
2023-12-21 17:06:41 +03:00
|
|
|
test:
|
|
|
|
env:
|
|
|
|
OPENAI_API_KEY: metaGptTestKey
|
2024-01-04 22:11:49 +03:00
|
|
|
OPENAI_API_MODEL: gpt-4-1106-preview
|
2023-12-21 17:06:41 +03:00
|
|
|
script:
|
2024-01-04 22:11:49 +03:00
|
|
|
# for more tests we need to set valid OPENAI_API_KEY with gpt-4 access
|
2023-12-21 17:06:41 +03:00
|
|
|
- metagpt --help | grep 'Run a startup. Be a boss.'
|