46 lines
1.4 KiB
Python
46 lines
1.4 KiB
Python
#!/usr/bin/env python3
|
|
"""setup.py for cli-anything-zhiyi."""
|
|
from pathlib import Path
|
|
from setuptools import setup, find_namespace_packages
|
|
|
|
ROOT = Path(__file__).parent
|
|
README = ROOT / "cli_anything/zhiyi/README.md"
|
|
|
|
long_description = README.read_text(encoding="utf-8") if README.exists() else "ZhiYi MemoryWeave CLI"
|
|
|
|
setup(
|
|
name="cli-anything-zhiyi",
|
|
version="0.1.0",
|
|
description="Agent-native CLI for ZhiYi MemoryWeave — search, explore, and manage your memory system",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
author="小唯 A06",
|
|
packages=find_namespace_packages(include=("cli_anything.*",)),
|
|
python_requires=">=3.10",
|
|
install_requires=[
|
|
"click>=8.1",
|
|
],
|
|
extras_require={
|
|
"dev": ["pytest>=7"],
|
|
"repl": ["prompt-toolkit>=3.0"],
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"cli-anything-zhiyi=cli_anything.zhiyi.zhiyi_cli:cli",
|
|
],
|
|
},
|
|
package_data={
|
|
"cli_anything.zhiyi": ["skills/*.md"],
|
|
},
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
keywords=["cli", "zhiyi", "memory", "knowledge-graph", "ai"],
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
],
|
|
)
|