Skip to content

Commit

Permalink
publish to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiacheng Sun committed Dec 25, 2024
1 parent b13c632 commit 097db58
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 14 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ git clone https://github.com/myscale/myscalekb-agent-plugin.git
# 以 myscalekb-deployment 为根目录操作 docker-compose
cd myscalekb-deployment

# 添加 Env 以启用新增的 Plugin SubAgent
echo 'ENABLED_PLUGIN_AGENTS="PaperRecommendationAgent,"' >> .env

# 使用下面的命令 restart agent service (以 cpu yaml 为例)
docker-compose -f docker-compose-linux-cpu.yaml -v ../myscalekb-agent-plugin/myscalekb_agent_plugin:/app/myscalekb_agent_plugin up -d agent
```
Expand Down
35 changes: 24 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,43 @@

setup(
name="myscalekb-agent-base",
version="0.1.0",
author="Your Name",
author_email="your.email@example.com",
version="0.0.1",
author="jiachengs",
author_email="jiachengs@myscale.com",
description="Base package for myscalekb agent",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/myscale/myscalekb-agent-plugin",

packages=find_namespace_packages(include=['myscalekb_agent.*']),

package_data={
"myscalekb_agent.base": ["*.txt", "*.json"],
},

namespace_packages=['myscalekb_agent'],

python_requires=">=3.12",

install_requires=[],


install_requires=[
# app required
# langchain family
'langchain==0.3.2',
'langchain-openai==0.2.2',
'langchain-community==0.3.1',
'langgraph==0.2.35',

# others
'nanoid~=2.0.0',
'clickhouse-connect~=0.7.18',
'json5~=0.9.25',
'json_repair~=0.30.0',
],

classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.12",
],
)
)

0 comments on commit 097db58

Please sign in to comment.