forked from pvlib/pvanalytics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
81 lines (66 loc) · 2 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
raise RuntimeError('setuptools is required')
DESCRIPTION = ('PVAnalytics is a python library for the analysis of ' +
'photovoltaic system-level data.')
LONG_DESCRIPTION = """
PVAnalytics is a collection of functions for working with data
from photovoltaic power systems. The library includes functions for
general data quality tests such as outlier detection, validation that
data is physically plausible, filtering data for specific conditions,
and labeling specific features in the data.
Documentation: https://pvanalytics.readthedocs.io
Source code: https://github.com/pvlib/pvanalytics
"""
DISTNAME = 'pvanalytics'
MAINTAINER = "Will Vining"
MAINTAINER_EMAIL = '[email protected]'
LICENSE = 'MIT'
URL = 'https://github.com/pvlib/pvanalytics'
TESTS_REQUIRE = [
'pytest',
]
INSTALL_REQUIRES = [
'numpy >= 1.15.0',
'pandas >= 0.23.0',
'pvlib >= 0.8.0',
'scipy >= 1.2.0',
'statsmodels >= 0.9.0'
]
DOCS_REQUIRE = [
'sphinx == 2.2.0'
]
EXTRAS_REQUIRE = {
'optional': ['ruptures'],
'test': TESTS_REQUIRE,
'doc': DOCS_REQUIRE
}
EXTRAS_REQUIRE['all'] = sorted(set(sum(EXTRAS_REQUIRE.values(), [])))
SETUP_REQUIRES = ['setuptools_scm']
CLASSIFIERS = [
'Development Status :: 2 - Pre-Alpha',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering'
]
PACKAGES = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
setup(
name=DISTNAME,
use_scm_version=True,
packages=PACKAGES,
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
tests_require=TESTS_REQUIRE,
setup_requires=SETUP_REQUIRES,
ext_modules=[],
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
license=LICENSE,
classifiers=CLASSIFIERS,
url=URL
)