-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (31 loc) · 818 Bytes
/
setup.py
File metadata and controls
36 lines (31 loc) · 818 Bytes
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
import setuptools
import sys
if tuple(sys.version_info)[:2] < (3, 10):
print('Sorry, Python versions older 3.10 are not supported, please install a later version of Python')
sys.exit(-1)
def readme() -> str:
try:
with open('./README.md') as f:
return f.read()
except IOError:
return ''
setuptools.setup(
name='SmartSQL',
version='v1.0.0',
description='Control your SQL server with natural language',
author='Valentina Banner',
long_description=readme(),
long_description_content_type='text/markdown',
keywords='AI SQL',
url='https://github.com/bannev1/SmartSQL',
package_dir={'': 'src'},
packages=setuptools.find_packages('src'),
include_package_data=True,
python_requires='>=3.10.0',
install_requires=[
"openai>=1.97.0",
"dotenv>=0.9.9",
"oracledb>=3.2.0",
"psycopg2>=2.9.10"
]
)