8 Star 1 Fork 2

src-openEuler/metagpt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
metagpt.spec 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
lixiaoyong1 提交于 2024-07-25 07:31 . Init repo
%define debug_package %{nil}
Name: metagpt
Version: 0.8.1
Release: 1
Summary: The Multi-Agent Framework
Group: NA
License: The MIT License
URL: https://github.com/geekan/MetaGPT
Source0: https://github.com/geekan/MetaGPT/archive/refs/tags/v%{version}.tar.gz
Source1: requirements.txt
Requires: python3-pip python3 >= 3.9
%description
Assign different roles to GPTs to form a collaborative entity for complex tasks
%prep
%setup -q -n MetaGPT-%{version}
%build
# No build steps required for Python packages
%install
install -d %{buildroot}/usr/local/metagpt/
cp -r %{_builddir}/MetaGPT-%{version} %{buildroot}/usr/local/metagpt/
cp %{SOURCE1} %{buildroot}/usr/local/metagpt/
install -d %{buildroot}/etc/metagpt/
install -m 0644 config/config2.yaml %{buildroot}/etc/metagpt/
%files
/usr/local/metagpt
%config(noreplace) %{_sysconfdir}/metagpt/config2.yaml
%post
echo "Installing requirements package %post..."
cd /usr/local/metagpt/MetaGPT-%{version}
pip3 install --upgrade -e . || {
echo "Failed to install the requirements package, rolling back..."
cd -
exit 1
}
%preun
cat /usr/local/metagpt/requirements.txt | xargs pip3 uninstall -y
%changelog
* Thu Jul 25 2024 lixiaoyong <[email protected]> - 0.8.1-1
- Initial RPM release
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/metagpt.git
[email protected]:src-openeuler/metagpt.git
src-openeuler
metagpt
metagpt
master

搜索帮助