-
Notifications
You must be signed in to change notification settings - Fork 184
/
setup.py
56 lines (49 loc) · 1.71 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
"""
Setup configuration
"""
import setuptools
def get_readme() -> str:
"""get README"""
with open("README.md", encoding="utf-8") as f:
return f.read()
def get_requirements() -> list:
"""get requirements from PaddleScience/requirements.txt"""
req_list = []
with open("requirements.txt", "r") as f:
req_list = f.read().splitlines()
return req_list
if __name__ == "__main__":
setuptools.setup(
name="paddlesci",
author="PaddlePaddle",
url="https://github.com/PaddlePaddle/PaddleScience",
description=(
"PaddleScience is SDK and library for developing AI-driven scientific computing"
" applications based on PaddlePaddle."
),
long_description=get_readme(),
long_description_content_type="text/markdown",
packages=setuptools.find_packages(
exclude=(
"docs",
"examples",
"jointContribution",
"test_tipc",
"test",
"tools",
)
),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Mathematics",
],
install_requires=get_requirements(),
)