forked from redis/redis-vl-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (33 loc) · 962 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
36
37
38
from setuptools import setup, find_packages
# function to read in requirements.txt to into a python list
def read_requirements():
with open("requirements.txt") as f:
requirements = f.read().splitlines()
return requirements
def read_dev_requirements():
with open("requirements-dev.txt") as f:
requirements = f.read().splitlines()
return requirements
extras_require = {
"all": [
"openai==0.28.1",
"sentence-transformers>=2.2.2",
"google-cloud-aiplatform>=1.26"
],
"dev": read_dev_requirements()
}
setup(
name="redisvl",
version="0.0.5",
python_requires=">=3.7",
install_requires=read_requirements(),
extras_require=extras_require,
packages=find_packages(),
package_data = {"redisvl": ["requirements.txt", "requirements-dev.txt"]},
zip_safe=False,
entry_points={
"console_scripts": [
"rvl = redisvl.cli.__init__:main"
]
}
)