forked from Future-House/paper-qa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (32 loc) · 968 Bytes
/
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
from setuptools import setup
exec(open("paperqa/version.py").read())
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="paper-qa",
version=__version__,
description="LLM Chain for answering questions from docs ",
author="Andrew White",
author_email="[email protected]",
url="https://github.com/whitead/paper-qa",
license="MIT",
packages=["paperqa", "paperqa.contrib"],
install_requires=[
"pypdf",
"langchain>=0.0.129",
"openai>=0.27.0",
"faiss-cpu",
"PyCryptodome",
"html2text",
"tiktoken",
],
test_suite="tests",
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)
1