-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
80 lines (71 loc) · 2.36 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
from setuptools import setup, find_packages
from os import path
import versioneer
with open(path.join(path.abspath(path.dirname(__file__)), 'README.md')) as f:
long_description = f.read()
EXTRAS_REQUIRE = {
'test': ['pytest', 'pytest-cov', 'pytest-mock', 'pytest-asyncio',
'asynctest', 'requests-mock', 'pytest-timeout'],
'fetch': ['aiohttp', 'loky', 'psutil'],
'log': ['sentry-sdk'],
'plotting': [
'bokeh>=1.4.0, <2',
'matplotlib',
'plotly>=4.9.0, <5',
'selenium<4',
'jinja2<3.1',
'kaleido'
],
'doc': ['sphinx<2.0', 'sphinx_rtd_theme']
}
EXTRAS_REQUIRE['all'] = [
vv for v in EXTRAS_REQUIRE.values() for vv in v]
setup(
name='solarforecastarbiter',
description='Core framework for Solar Forecast Arbiter',
long_description=long_description,
long_description_content_type='text/markdown',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
url='https://github.com/solararbiter/solarforecastarbiter-core',
author='Solar Forecast Arbiter Team',
author_email='[email protected]',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
packages=find_packages(),
include_package_data=True,
python_requires='>=3.7, <4',
install_requires=[
'click',
'netCDF4',
'numpy>=1.18.2',
'pandas>=1.0.3, <1.4',
'requests<=2.25.1', # https://github.com/psf/requests/pull/5810
'xarray',
'tables',
'importlib-metadata<5',
'pvlib==0.8.0',
'scipy<1.9',
'statsmodels',
'jsonschema',
'pytz',
],
extras_require=EXTRAS_REQUIRE,
project_urls={
'Bug Reports': 'https://github.com/solararbiter/solarforecastarbiter-core/issues', # NOQA,
'Source': 'https://github.com/solararbiter/solarforecastarbiter-core',
'Documentation': 'https://solarforecastarbiter-core.readthedocs.io'
},
entry_points={
'console_scripts': [
'solararbiter=solarforecastarbiter.cli:cli'
]
}
)