-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (43 loc) · 1.23 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
from setuptools import setup, find_packages
with open('./README.md', 'r') as file:
long_description = file.read()
setup(
name="text_to_sql",
version="0.0.6",
description="""
A Python package which converts natural language text to PostgreSQL commands
based on provided database schema
""",
package_dir={"": "src"},
packages=find_packages(where="src"),
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/AI-Camp-Sprouts-AI/NaturalLangToSQL",
author="""Vignesh Prakash""",
author_email="pranomvignesh@gmail.com",
license="MIT",
install_requires=[
'langchain',
'langchain-experimental',
'openai',
'python-dotenv',
'psycopg2-binary',
'InquirerPy',
],
extras_require={
'dev': [
'pytest',
'pytest-check',
'pytest-html',
'tqdm',
'faker',
'twine'
]
},
entry_points="""
[console_scripts]
text_to_sql-example=src.text_to_sql:run_sample_in_terminal
text_to_sql-test=src.text_to_sql:run_test_suites
text_to_sql-mock=src.text_to_sql:run_mock_data_generator
"""
)