forked from zilliztech/GPTCache
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
32 lines (27 loc) · 1.08 KB
/
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
import setuptools
from setuptools import find_packages
from typing import List
with open("README.md", "r") as fh:
long_description = fh.read()
def parse_requirements(file_name: str) -> List[str]:
with open(file_name) as f:
return [
require.strip() for require in f
if require.strip() and not require.startswith('#')
]
setuptools.setup(
name="gptcache",
packages=find_packages(),
version="0.1.17",
author="SimFG",
author_email="[email protected]",
description="GPTCache, a powerful caching library that can be used to speed up and lower the cost of chat "
"applications that rely on the LLM service. GPTCache works as a memcache for AIGC applications, "
"similar to how Redis works for traditional applications.",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=parse_requirements('requirements.txt'),
url="https://github.com/zilliztech/GPTCache",
license='https://opensource.org/license/mit/',
python_requires='>=3.8.1',
)