mirror of
https://github.com/MervinPraison/PraisonAI.git
synced 2026-11-07 17:33:33 -10:00
50 lines
1.5 KiB
TOML
50 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "praisonai-example-plugin"
|
|
version = "1.0.0"
|
|
description = "Example plugin for PraisonAI Agents - demonstrates tool plugin development"
|
|
readme = "README.md"
|
|
license = {text = "MIT"}
|
|
requires-python = ">=3.10"
|
|
authors = [
|
|
{name = "Your Name", email = "[email protected]"}
|
|
]
|
|
keywords = ["praisonai", "agents", "tools", "plugin"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
]
|
|
|
|
dependencies = [
|
|
"praisonaiagents>=0.0.168",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-mock>=3.10.0",
|
|
]
|
|
|
|
# This is the key part - register your tools as entry points
|
|
# The format is: tool_name = "module.path:ClassName" or "module.path:function_name"
|
|
[project.entry-points."praisonaiagents.tools"]
|
|
example_greet = "praisonai_example_plugin:GreetTool"
|
|
example_math = "praisonai_example_plugin:MathTool"
|
|
example_reverse = "praisonai_example_plugin:reverse_text"
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/yourusername/praisonai-example-plugin"
|
|
Documentation = "https://github.com/yourusername/praisonai-example-plugin#readme"
|
|
Repository = "https://github.com/yourusername/praisonai-example-plugin"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|