-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (43 loc) · 1.45 KB
/
setup.py
File metadata and controls
47 lines (43 loc) · 1.45 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
import setuptools
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
__version__ = "1.0.0"
REPO_NAME = "CodeXpert"
AUTHOR_USER_NAME = "MohammedNasserAhmed"
SRC_REPO = "coderag"
AUTHOR_EMAIL = "abunasserip@gmail.com"
setuptools.setup(
name=SRC_REPO,
version=__version__,
author=AUTHOR_USER_NAME,
author_email=AUTHOR_EMAIL,
description="CodeXpert: A cutting-edge AI-powered code analysis tool leveraging CodeLlama, FAISS, and HuggingFace for efficient code understanding, explanation, and optimization.",
long_description=long_description,
long_description_content_type="text/markdown",
url=f"https://github.com/{AUTHOR_USER_NAME}/{REPO_NAME}",
project_urls={
"Bug Tracker": f"https://github.com/{AUTHOR_USER_NAME}/{REPO_NAME}/issues",
},
package_dir={"": "coderag"},
packages=setuptools.find_packages(where="coderag"),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
python_requires=">=3.9",
install_requires=[
"streamlit",
"openai",
"langchain",
"transformers",
"accelerate",
"sentence-transformers",
"faiss-cpu",
"langchainhub",
"langchain-community",
"chardet",
"langgraph",
"langchain_huggingface",
],
)