-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
60 lines (56 loc) · 1.92 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
"""Setup for the diag-eff package."""
# !/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import versioneer
long_description = """diag-eff is an open-source toolbox written in Python for
specific evaluation of model performance. The toolbox provides functions to
calculate the Diagnostic Efficiency metric and and functions to visualize
contribution of metric terms by diagnostic polar plots. Note that the data
management of time series is handled using pandas data frame objects.
"""
INSTALL_REQUIRES = [
"numpy",
"scipy",
"matplotlib",
"seaborn",
"pandas",
]
TEST_REQUIRES = [
# testing and coverage
"pytest",
"coverage",
"pytest-cov",
# to be able to run `python setup.py checkdocs`
"collective.checkdocs",
"pygments",
]
setup(
name="diag-eff",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="diag-eff: Diagnostic Efficiency",
long_description=long_description,
url="https://github.com/schwemro/diag-eff",
author="Robin Schwemmle",
author_email="[email protected]",
license="GPLv3",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Hydrology",
"Topic :: Scientific/Engineering :: Visualization",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8"
],
python_requires=">=3.6",
packages=find_packages(exclude=["docs"]),
include_package_data=True,
install_requires=INSTALL_REQUIRES,
extras_require={"test": TEST_REQUIRES + INSTALL_REQUIRES, },
)