forked from nightzjp/graphrag_api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
29 lines (25 loc) · 909 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
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
BASEDIR = os.path.abspath(os.path.dirname(__file__))
# 读取requirements.txt文件中的依赖
with open(os.path.join(BASEDIR, "requirements.txt")) as f:
requirements = f.read().splitlines()
setup(
name="graphrag_api",
version="0.3.0",
packages=find_packages(exclude=["tests"]),
install_requires=requirements,
author="nightzjp",
author_email="[email protected]",
description="graphrag api 调用",
long_description=open(os.path.join(BASEDIR, "README.md"), encoding="utf-8").read(),
long_description_content_type="text/markdown",
url="https://github.com/nightzjp/graphrag_api",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
)