-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from wei1793786487/main
Provide setup. py for the project
- Loading branch information
Showing
7 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,6 @@ htmlcov/* | |
data/competitions/* | ||
data/docs | ||
data/nltk_data | ||
huqie | ||
huqie | ||
dist | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,4 +44,5 @@ readability==0.3.1 | |
PyMuPDF==1.24.5 | ||
hanziconv==0.3.2 | ||
PyPDF2==3.0.1 | ||
gradio===3.50.2 | ||
gradio===3.50.2 | ||
loguru==0.5.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from setuptools import setup, find_packages | ||
try: | ||
from gomate.version import __version__ | ||
except ImportError: | ||
__version__ = "unknown version" | ||
|
||
# 读取 requirements.txt 文件中的内容 | ||
with open('requirements.txt') as f: | ||
required = f.read().splitlines() | ||
|
||
setup( | ||
name="GoMate", | ||
version=__version__, | ||
author="gomate-community", | ||
packages=find_packages(), | ||
install_requires=required, | ||
author_email="yanqiang@ict.ac.cn", | ||
description="RAG Framework within Reliable input,Trusted output", | ||
long_description=open('README.md').read(), | ||
long_description_content_type='text/markdown', | ||
url="https://github.com/gomate-community/GoMate", | ||
python_requires='>=3.9', | ||
) |