-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
114 lines (109 loc) · 3.62 KB
/
Copy pathsetup.py
File metadata and controls
114 lines (109 loc) · 3.62 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#!/usr/bin/env python3
"""
Setup configuration for Business Data Analyzer package.
"""
from pathlib import Path
from setuptools import find_packages, setup
# Read long description from README
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text(encoding="utf-8")
# Read requirements
requirements = []
with open(this_directory / "requirements.txt", "r", encoding="utf-8") as f:
for line in f:
line = line.strip()
# Skip comments, empty lines, and installation instructions
if line and not line.startswith("#"):
# Extract just the package name and version spec
if ">=" in line or "==" in line or "~=" in line:
requirements.append(line)
setup(
name="business-data-analyzer",
version="2.1.0",
author="Business Data Analyzer Team",
author_email="",
description="Comprehensive business intelligence platform for hardware store operations with AI-powered natural language SQL queries",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Trujillofa/coding_omarchy",
project_urls={
"Bug Tracker": "https://github.com/Trujillofa/coding_omarchy/issues",
"Documentation": "https://github.com/Trujillofa/coding_omarchy/blob/main/docs/START_HERE.md",
"Source Code": "https://github.com/Trujillofa/coding_omarchy",
},
package_dir={"": "src"},
packages=find_packages(where="src", include=["business_analyzer*"]),
py_modules=["vanna_grok", "api", "config"],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Office/Business",
"Topic :: Scientific/Engineering :: Information Analysis",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Natural Language :: Spanish",
],
python_requires=">=3.9",
install_requires=requirements,
extras_require={
"dev": [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-asyncio>=0.21.0",
"black>=22.0.0",
"flake8>=4.0.0",
"mypy>=0.950",
"isort>=5.12.0",
],
"jupyter": [
"jupyter>=1.0.0",
"ipython>=8.0.0",
"ipykernel>=6.0.0",
],
"mcp": [
"mcp>=1.2; python_version >= '3.10'",
],
"all": [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=22.0.0",
"flake8>=4.0.0",
"mypy>=0.950",
"isort>=5.12.0",
"jupyter>=1.0.0",
"ipython>=8.0.0",
"ipykernel>=6.0.0",
],
},
entry_points={
"console_scripts": [
"depotru-report=business_analyzer.reports.monthly:main",
"vanna-grok=vanna_grok:main",
"vanna-chat=vanna_grok:main",
"depotru-db-mcp=business_analyzer.mcp.database_server:main",
],
},
include_package_data=True,
package_data={
"": ["*.json", "*.md", "*.txt"],
},
zip_safe=False,
keywords=[
"business-intelligence",
"data-analysis",
"sql",
"natural-language",
"ai",
"grok",
"vanna",
"analytics",
"retail",
"hardware-store",
],
)