1 Star 0 Fork 21

tianhett/MetaGPT

forked from Gitee 极速下载/MetaGPT 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.57 KB
一键复制 编辑 原始数据 按行查看 历史
shenchucheng 提交于 2023-07-25 01:31 . update extras_require
"""wutils: handy tools
"""
import subprocess
from codecs import open
from os import path
from setuptools import Command, find_packages, setup
class InstallMermaidCLI(Command):
"""A custom command to run `npm install -g @mermaid-js/mermaid-cli` via a subprocess."""
description = "install mermaid-cli"
user_options = []
def run(self):
try:
subprocess.check_call(["npm", "install", "-g", "@mermaid-js/mermaid-cli"])
except subprocess.CalledProcessError as e:
print(f"Error occurred: {e.output}")
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
with open(path.join(here, "requirements.txt"), encoding="utf-8") as f:
requirements = [line.strip() for line in f if line]
setup(
name="metagpt",
version="0.1",
description="The Multi-Role Meta Programming Framework",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://gitlab.deepwisdomai.com/pub/metagpt",
author="Alexander Wu",
author_email="alexanderwu@fuzhi.ai",
license="Apache 2.0",
keywords="metagpt multi-role multi-agent programming gpt llm",
packages=find_packages(exclude=["contrib", "docs", "examples"]),
python_requires=">=3.9",
install_requires=requirements,
extras_require={
"playwright": ["playwright>=1.26", "beautifulsoup4"],
"selenium": ["selenium>4", "webdriver_manager<3.9", "beautifulsoup4"],
},
cmdclass={
"install_mermaid": InstallMermaidCLI,
},
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/tianhett/MetaGPT.git
git@gitee.com:tianhett/MetaGPT.git
tianhett
MetaGPT
MetaGPT
main

搜索帮助