-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
setup.py
38 lines (33 loc) · 1.24 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
33
34
35
36
37
38
import re
from setuptools import setup, find_packages
# Read the content of the README file
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
# Remove p tags.
pattern = re.compile(r"<p.*?>.*?</p>", re.DOTALL)
long_description = re.sub(pattern, "", long_description)
# Read the content of the requirements.txt file
with open("requirements.txt", encoding="utf-8") as f:
requirements = f.read().splitlines()
setup(
name="knowledge-storm",
version="1.0.0",
author="Yijia Shao, Yucheng Jiang",
author_email="[email protected], [email protected]",
description="STORM: A language model-powered knowledge curation engine.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/stanford-oval/storm",
license="MIT License",
packages=find_packages(),
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
python_requires=">=3.10",
install_requires=requirements,
)