-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathsetup.py
64 lines (58 loc) · 1.62 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
from setuptools import find_packages, setup
# Package metadata
name = "suql"
version = "1.1.7a10"
description = "Structured and Unstructured Query Language (SUQL) Python API"
author = "Shicheng Liu"
author_email = "shicheng@cs.stanford.edu"
url = "https://github.com/stanford-oval/suql"
# Specify the packages to include. You can use `find_packages` to automatically discover them.
packages = find_packages(where="src")
# Define your dependencies
install_requires = [
'Jinja2==3.1.2',
'Flask==2.3.2',
'Flask-Cors==4.0.0',
'Flask-RESTful==0.3.10',
'requests==2.31.0',
'tiktoken==0.4.0',
'psycopg2-binary==2.9.7',
'pglast==5.3',
'litellm==1.34.34',
'platformdirs>=4.0.0',
'sqlparse~=0.5.0'
]
install_dev_requires = [
'spacy==3.6.0',
'FlagEmbedding~=1.2.5',
]
# Additional package information
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
# Call setup() with package information
setup(
name=name,
version=version,
description=description,
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author=author,
author_email=author_email,
packages=packages,
package_dir={"": "src"},
install_requires=install_requires,
extra_requires={
"dev": install_dev_requires
},
url=url,
classifiers=classifiers,
package_data={
"": ["*.prompt"]
}
)