-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
79 lines (75 loc) · 2.32 KB
/
setup.py
File metadata and controls
79 lines (75 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/usr/bin/env python3
"""
Setup script for Proto ClickHouse AI Agent
"""
from pathlib import Path
from setuptools import find_packages, setup
# Read the README file
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text(encoding="utf-8")
setup(
name="clickr",
version="1.0.3",
author="ERP•AI",
author_email="team@erp.ai",
description="Natural-language CLI for ClickHouse® — text-to-SQL with local or cloud LLMs. Not affiliated with ClickHouse, Inc.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/erphq/clickr",
packages=find_packages(),
# Ensure top-level CLI module is included so entry point works
py_modules=["main"],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Database",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
],
python_requires=">=3.9",
install_requires=[
"typer[all]>=0.9.0",
"rich>=13.0.0",
"textual>=0.40.0",
"clickhouse-connect>=0.6.0",
"clickhouse-driver>=0.2.0",
"pandas>=1.5.0",
"numpy>=1.20.0",
"plotly>=5.0.0",
"matplotlib>=3.5.0",
"httpx>=0.24.0",
"requests>=2.28.0",
"python-dotenv>=1.0.0",
"pydantic>=2.0.0",
"aiofiles>=23.0.0",
"orjson>=3.8.0",
"structlog>=23.0.0",
"openai>=1.0.0",
"anthropic>=0.25.0",
"psutil>=5.8.0",
],
extras_require={
"dev": [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
],
},
entry_points={
"console_scripts": [
"clickr=main:app",
],
},
include_package_data=True,
zip_safe=False,
)