-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (51 loc) · 1.33 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
57
58
59
60
61
import io
import os
import subprocess
import shutil
from setuptools import setup, find_packages, Command
NAME = "pye3sm"
DESCRIPTION = \
"Python for E3SM."
AUTHOR = "Chang Liao"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/changliao1025/pye3sm"
VERSION = "0.1.0"
REQUIRES_PYTHON = ">=3.6.0"
KEYWORDS = "Earth Science"
REQUIRED = [
"numpy",
"matplotlib",
"pyearth"
]
CLASSIFY = [
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Visualization"
]
HERE = os.path.abspath(os.path.dirname(__file__))
try:
with io.open(os.path.join(
HERE, "README.md"), encoding="utf-8") as f:
LONG_DESCRIPTION = "\n" + f.read()
except FileNotFoundError:
LONG_DESCRIPTION = DESCRIPTION
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
license="custom",
author=AUTHOR,
author_email=AUTHOR_EMAIL,
python_requires=REQUIRES_PYTHON,
keywords=KEYWORDS,
url=URL,
packages=find_packages(),
install_requires=REQUIRED,
classifiers=CLASSIFY
)