-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (31 loc) · 1.18 KB
/
setup.py
File metadata and controls
33 lines (31 loc) · 1.18 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
from setuptools import setup, find_packages
from pathlib import Path
def get_requirements():
"""Read requirements from requirements.txt"""
requirements = []
with open(Path(__file__).parent / "requirements.txt", "r", encoding="utf-8") as f:
for line in f:
line = line.strip()
if line and not line.startswith("#"):
requirements.append(line)
return requirements
setup(
name="rag-factory",
version="0.1.0",
description="A factory for building advanced RAG (Retrieval-Augmented Generation) pipelines including GraphRAG and Multi-modal RAG",
long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown",
author="Xiaojun WU",
author_email="[email protected]",
packages=find_packages(),
install_requires=get_requirements(),
python_requires=">=3.8",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)