-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
63 lines (59 loc) · 1.68 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
import setuptools
with open("README.md", "r", encoding='utf-8') as d:
long_description = d.read()
REQUIRED_PKGS = [
# Environments
'python-dotenv',
# Langchain
'langchain',
'langchain_openai',
'langchain_experimental',
'langsmith',
'langchainhub',
'langserve',
'httpx-sse', # for langserve
'sse-starlette', # for langserve
'fastapi', # for langserve
]
TUTORIAL_REQUIRED_PKGS = [
# Lock Versions
'langchain==0.0.334',
'langchain_experimental==0.0.39',
'langsmith==0.0.63',
'langchainhub==0.1.13',
'langserve==0.0.26',
# Jupyter Notebook
'ipykernel',
'jupyterlab',
# Vectorstores
'qdrant-client',
# Extensions
'lark',
'html2text',
'rank_bm25',
'duckduckgo-search',
]
setuptools.setup(
name="langchain_setup",
version="0.1.0",
author="Richard Wang",
author_email="[email protected]",
description="Some customized code for using langchain.",
long_description=long_description,
long_description_content_type="text/markdown",
license='Apache 2.0',
packages=setuptools.find_packages(),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
python_requires='>=3',
keywords='datasets machine learning datasets metrics fastai huggingface',
install_requires=REQUIRED_PKGS,
extras_require={'tutorial': TUTORIAL_REQUIRED_PKGS},
)