-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
69 lines (66 loc) · 2.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import os
from os.path import abspath, join, dirname
from setuptools import find_packages, setup
this_dir = abspath(dirname(__file__))
with open(join(this_dir, 'README.md'), encoding='utf-8') as file:
long_description = file.read()
# Declare your non-python data files:
# Files underneath configuration/ will be copied into the build preserving the
# subdirectory structure if they exist.
data_files = []
for root, dirs, files in os.walk("configuration"):
data_files.append(
(os.path.relpath(root, "configuration"), [os.path.join(root, f) for f in files])
)
setup(
# include data files
data_files=data_files,
name='AWSLexProgramSynthesisCalendar',
version='0.0.1',
description='Program Synthesis for Calendar',
long_description=long_description,
long_description_content_type="text/markdown",
author='hankcs',
author_email='[email protected]',
classifiers=[
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
"Development Status :: 4 - Beta",
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
"Topic :: Text Processing :: Linguistic"
],
keywords='NLP',
packages=find_packages(exclude=['doc', 'test*']),
include_package_data=True,
install_requires=[
"matplotlib==3.1.0",
"torch==2.2.0",
"lark-parser==0.8.2",
"requests==2.32.2",
"cached-property==1.5.1",
"typer==0.3.0",
"jsons==0.10.1",
"more_itertools==8.2.0",
"transformers==4.38.0",
"httpx==0.23.0",
"datasets==1.1.3",
'sm-dataflow @ git+https://github.com/microsoft/task_oriented_dialogue_as_dataflow_synthesis.git@5012802f7db5b31a908927c510a1288cef659f06',
"blobfile==1.2.5",
"sentencepiece==0.1.96",
"openfst-python==1.8.2",
"Whoosh==2.7.4",
"rapidfuzz==2.0.11",
"protobuf==3.19.5",
"sqlalchemy==1.4.36",
"ply==3.11",
"graphviz==0.20",
"uvicorn==0.18.3",
"fastapi==0.81.0",
"termcolor==1.1.0",
"pydantic==1.10.13",
"appdirs==1.4.4",
"pytz==2022.2.1"
]
)