-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
55 lines (50 loc) · 1.75 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
""" Install pvfactors """
from setuptools import setup
import versioneer
DESCRIPTION = (
'2D View Factor Model to calculate the irradiance incident on ' +
'various surfaces of PV arrays')
with open('README.rst', 'r') as f:
LONG_DESCRIPTION = f.read()
with open('requirements.txt', 'r') as f:
INSTALL_REQUIRES = list(f)
DISTNAME = 'solarfactors'
AUTHOR = 'SunPower and pvlib python Developers'
MAINTAINER_EMAIL = 'pvlib-admin@googlegroups.com'
URL = 'https://github.com/pvlib/solarfactors'
PACKAGES = ['pvfactors', 'pvfactors.geometry', 'pvfactors.irradiance',
'pvfactors.viewfactors']
LICENSE = 'BSD 3-Clause'
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering',
]
TESTS_REQUIRES = ['pytest>=3.2.1', 'pytest-mock>=1.10.0', 'mock']
setup(name=DISTNAME,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author=AUTHOR,
maintainer_email=MAINTAINER_EMAIL,
url=URL,
packages=PACKAGES,
classifiers=CLASSIFIERS,
install_requires=INSTALL_REQUIRES,
extras_require={
'test': TESTS_REQUIRES,
'doc': ['Sphinx~=4.0', 'sphinx_rtd_theme', 'nbsphinx',
'sphinxcontrib_github_alt',
'ipykernel']
},
license=LICENSE
)