mirror of
https://fastgit.cc/github.com/HKUDS/CLI-Anything
synced 2026-04-20 21:00:28 +08:00
Must fix: - Merge conflicts with main resolved - Remove hardcoded developer path in seaclip_backend.py; require SEACLIP_DB env var for SQLite queries (raises RuntimeError if unset) - Switch all three setup.py from find_packages() to find_namespace_packages(include=["cli_anything.*"]) - Remove global os.environ["PATH"] mutation in pm2_backend.py; use shutil.which(path=...) with a local variable instead Should fix: - Align PM2 SKILL.md format with existing convention (name + description with >- folding syntax, command group tables) - Add missing setup.py fields: classifiers, extras_require, package_data, include_package_data, zip_safe, url, consistent author All 91 unit tests pass (25 seaclip + 28 pm2 + 38 chromadb).
45 lines
1.3 KiB
Python
45 lines
1.3 KiB
Python
"""Setup for cli-anything-pm2 — CLI harness for PM2 process management."""
|
|
|
|
from setuptools import setup, find_namespace_packages
|
|
|
|
setup(
|
|
name="cli-anything-pm2",
|
|
version="1.0.0",
|
|
author="cli-anything contributors",
|
|
author_email="",
|
|
description="CLI-Anything harness for PM2 process management",
|
|
url="https://github.com/HKUDS/CLI-Anything",
|
|
packages=find_namespace_packages(include=["cli_anything.*"]),
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
],
|
|
python_requires=">=3.10",
|
|
install_requires=[
|
|
"click>=8.0.0",
|
|
"prompt-toolkit>=3.0.0",
|
|
],
|
|
extras_require={
|
|
"dev": [
|
|
"pytest>=7.0.0",
|
|
"pytest-cov>=4.0.0",
|
|
],
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"cli-anything-pm2=cli_anything.pm2.pm2_cli:main",
|
|
],
|
|
},
|
|
package_data={
|
|
"cli_anything.pm2": ["skills/*.md"],
|
|
},
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
)
|