Files
CLI-Anything/mubu/agent-harness/setup.py
cnfjlhj f15052487e chore(mubu): bump harness version to 0.1.1
Update the package metadata, generated skill output, test expectations, and registry entry so the contribution PR reflects the generalized daily-folder behavior in the published harness version.
2026-03-18 13:40:41 +08:00

50 lines
1.3 KiB
Python

from __future__ import annotations
import sys
PACKAGE_NAME = "cli-anything-mubu"
PACKAGE_VERSION = "0.1.1"
def _handle_metadata_query(argv: list[str]) -> bool:
if len(argv) != 2:
return False
if argv[1] == "--name":
print(PACKAGE_NAME)
return True
if argv[1] == "--version":
print(PACKAGE_VERSION)
return True
return False
if __name__ == "__main__" and _handle_metadata_query(sys.argv):
raise SystemExit(0)
try:
from setuptools import find_namespace_packages, setup
except ModuleNotFoundError as exc:
raise SystemExit("setuptools is required for packaging commands; use `pip install setuptools`.") from exc
setup(
name=PACKAGE_NAME,
version=PACKAGE_VERSION,
description="Agent-oriented CLI bridge for the Mubu desktop app",
py_modules=["mubu_probe"],
install_requires=["click>=8.0"],
packages=find_namespace_packages(include=["cli_anything.*"]),
include_package_data=True,
package_data={
"cli_anything.mubu": ["README.md"],
"cli_anything.mubu.skills": ["SKILL.md"],
"cli_anything.mubu.tests": ["TEST.md"],
},
entry_points={
"console_scripts": [
"cli-anything-mubu=cli_anything.mubu.mubu_cli:entrypoint",
]
},
)