-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathsetup.py
More file actions
45 lines (41 loc) · 1.45 KB
/
Copy pathsetup.py
File metadata and controls
45 lines (41 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
from setuptools import setup, find_packages
import os
import re
def read_requirements():
with open("requirements.txt") as req:
return req.read().splitlines()
def read_version():
version_file = os.path.join("open_rag_eval", "_version.py")
with open(version_file, "r") as vf:
content = vf.read()
return re.search(r'__version__\s*=\s*["\']([^"\']+)["\']', content).group(1)
setup(
name="open-rag-eval",
version=read_version(),
author="Suleman Kazi",
author_email="suleman@vectara.com",
description="A Python package for RAG Evaluation",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/vectara/open-rag-eval",
packages=find_packages(),
install_requires=read_requirements(),
entry_points={
'console_scripts': [
'open-rag-eval=open_rag_eval.cli:main',
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords=["RAG", "Evaluation", "RAG evaluation", "Vectara"],
project_urls={
"Documentation": "https://vectara.github.io/open-rag-eval/",
},
python_requires=">=3.9",
)