-
Notifications
You must be signed in to change notification settings - Fork 30
/
setup.py
69 lines (63 loc) · 1.95 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
__author__ = 'mmikofski'
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from pvmismatch import __version__, __name__, __email__, __url__
import os
README = 'README.rst'
try:
with open(os.path.join(os.path.dirname(__file__), README), 'r') as readme:
README = readme.read()
except IOError:
pass
INSTALL_REQUIRES = [
'numpy>=1.13.3', 'matplotlib>=2.1.0', 'scipy>=1.0.0', 'future>=0.16.0',
'six>=1.11.0'
]
TESTS_REQUIRES = [
'nose>=1.3.7', 'pytest>=3.2.1', 'sympy>=1.1.1', 'pvlib>=0.5.1'
]
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering',
]
setup(
name=__name__,
version=__version__,
description='PV Mismatch Calculator',
long_description=README,
author=__author__,
author_email=__email__,
url=__url__,
license='BSD 3-clause',
packages=[
'pvmismatch', 'pvmismatch.pvmismatch_lib',
'pvmismatch.pvmismatch_tk', 'pvmismatch.contrib',
'pvmismatch.contrib.gen_coeffs'
],
install_requires=INSTALL_REQUIRES,
tests_require=TESTS_REQUIRES,
scripts=['pv_tk.py'],
package_data={
'pvmismatch': [
'pvmismatch_json/messagetext.English.json',
'pvmismatch_json/validationConstants.json',
'res/logo.png', 'res/logo_invert.png',
'res/logo_bg.png', 'docs/conf.py', 'docs/*.rst',
'docs/Makefile', 'docs/make.bat'
]
},
classifiers=CLASSIFIERS
)