-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
65 lines (60 loc) · 1.9 KB
/
setup.py
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
#!/usr/bin/env python
import os
import sys
if sys.version_info < (3, 9):
print("Error: tabletalk does not support this version of Python.")
print("Please upgrade to Python 3.9 or higher.")
sys.exit(1)
from setuptools import find_packages, setup # type: ignore[import-untyped]
# Read the README.md for the long description
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "README.md")) as f:
long_description = f.read()
# Package metadata
package_name = "tabletalk"
package_version = "0.1.99"
description = "A command-line tool for managing database schemas and generating SQL queries using natural language."
# Setup configuration
setup(
name=package_name,
version=package_version,
description=description,
long_description=long_description,
long_description_content_type="text/markdown",
author="william bates",
author_email="wtbates99@gmail.com",
url="https://github.com/wtbates99/tabletalk",
packages=find_packages(),
include_package_data=True,
package_data={
"tabletalk": ["static/*", "static/*.html", "static/*.css", "static/*.js"],
},
entry_points={
"console_scripts": ["tabletalk = tabletalk.cli:cli"],
},
install_requires=[
"pyyaml>=6.0",
"openai>=1.0.0",
"google-cloud-bigquery>=3.0.0",
"sphinx",
"mysql-connector-python",
"psycopg2-binary",
"anthropic",
"click",
],
extras_require={
"dev": [
"mypy",
"types-setuptools",
],
},
python_requires=">=3.9",
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
)