Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
106 lines (49 loc) · 1.44 KB
/
Copy pathsetup.py
File metadata and controls
106 lines (49 loc) · 1.44 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
"""
setup.py
Package configuration for Production AI ChatBot.
"""
from setuptools import find_packages, setup
from typing import List
PROJECT_NAME = "ChatBot"
VERSION = "1.0.0"
AUTHOR = "Shravan Kumar Pandey"
AUTHOR_EMAIL = "shravankumarpandey825412@gmail.com"
def get_requirements() -> List[str]:
"""
Read dependencies from requirements.txt
"""
requirements_list: List[str] = []
try:
with open(
"requirements.txt",
"r"
) as file:
requirements_list = [
requirement.strip()
for requirement in file.readlines()
if requirement.strip()
and not requirement.startswith("#")
]
except FileNotFoundError:
pass
return requirements_list
setup(
name=PROJECT_NAME,
version=VERSION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
description=(
"Production AI Chatbot using "
"LangGraph, LangChain, Gemini, "
"RAG and AI Tools"
),
packages=find_packages(),
install_requires=get_requirements(),
python_requires=">=3.11",
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Framework :: Streamlit",
],
)