forked from NREL/rdtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·72 lines (58 loc) · 1.7 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
#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
raise RuntimeError('setuptools is required')
import versioneer
DESCRIPTION = 'Functions for analytics the degradation of photovoltaic systems.'
LONG_DESCRIPTION = """
Rdtools is a collection of tools for the analysis of photovoltaic degradation.
Source code: https://github.com/kwhanalytics/rdtools
"""
DISTNAME = 'rdtools'
LICENSE = 'MIT'
AUTHOR = 'Rdtools Python Developers'
MAINTAINER_EMAIL = '[email protected]'
URL = 'https://github.com/kwhanalytics/rdtools'
INSTALL_REQUIRES = [
'numpy >= 1.11.0',
'pandas >= 0.19.0',
'pvlib >= 0.4.1',
'statsmodels >= 0.8.0',
'patsy >= 0.4.1',
'nose >= 1.3.7',
'pytz',
'six',
]
TESTS_REQUIRE = ['nose']
CLASSIFIERS = [
'Development Status :: 1 - Beta',
'License :: MIT License',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering',
]
setuptools_kwargs = {
'zip_safe': False,
'scripts': [],
'include_package_data': True
}
# set up packages to be installed and extensions to be compiled
PACKAGES = ['rdtools']
setup(name=DISTNAME,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
packages=PACKAGES,
install_requires=INSTALL_REQUIRES,
tests_require=TESTS_REQUIRE,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
author=AUTHOR,
maintainer_email=MAINTAINER_EMAIL,
license=LICENSE,
url=URL,
classifiers=CLASSIFIERS,
**setuptools_kwargs)