mirror of
https://fastgit.cc/github.com/HKUDS/CLI-Anything
synced 2026-04-20 21:00:28 +08:00
- Replace invalid `additional_headers` kwarg with `user_agent` in Exa client - Pin exa-py>=2.0.0 (code uses v2-only `contents` param) - Add missing .gitignore Step 5/6 entries for exa/ - Exit non-zero from `server status` when check fails Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
58 lines
1.7 KiB
Python
58 lines
1.7 KiB
Python
#!/usr/bin/env python3
|
|
"""
|
|
setup.py for cli-anything-exa
|
|
|
|
Install with: pip install -e .
|
|
Or publish to PyPI: python -m build && twine upload dist/*
|
|
"""
|
|
|
|
from setuptools import setup, find_namespace_packages
|
|
|
|
with open("cli_anything/exa/README.md", "r", encoding="utf-8") as fh:
|
|
long_description = fh.read()
|
|
|
|
setup(
|
|
name="cli-anything-exa",
|
|
version="1.0.0",
|
|
author="cli-anything contributors",
|
|
author_email="",
|
|
description="CLI harness for Exa — AI-powered web search and content extraction via the Exa API",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
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",
|
|
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
|
|
"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",
|
|
"exa-py>=2.0.0",
|
|
],
|
|
extras_require={
|
|
"dev": [
|
|
"pytest>=7.0.0",
|
|
"pytest-cov>=4.0.0",
|
|
],
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"cli-anything-exa=cli_anything.exa.exa_cli:main",
|
|
],
|
|
},
|
|
package_data={
|
|
"cli_anything.exa": ["skills/*.md"],
|
|
},
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
)
|