-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (52 loc) · 2.41 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
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright © SolarCalc Project Contributors
# https://github.com/cgq-qgc/solarcalc
#
# This code is licensed under the terms of the MIT License as published
# by the Open Source Initiative. For more details, see the MIT license at
# https://opensource.org/licenses/MIT/.
# -----------------------------------------------------------------------------
"""Installation script """
from setuptools import setup
from solarcalc import __version__, __project_url__
LONG_DESCRIPTION = (
"The SolarcCalc module is used to predict hourly global solar "
"radiation on a horizontal surface from daily average temperature "
"extremes and total precipitation records. "
"The method used in the calculations is based on that presented in "
"[An Introduction to Environmental Biophysics]"
"(https://link.springer.com/book/10.1007/978-1-4612-1626-1) "
"by Campbell, G.S. and J.M. Norman (1998)."
"<br><br>"
"Version 1.0 of the SolarcCalc module is based on the source code of "
"SolarCalc.jar (version 1.1, Jan. 2006), a computer program that was "
"developped by the USDA Agricultural Research Service and that is "
"available free of charge at "
"[https://data.nal.usda.gov/dataset/solarcalc-10]"
"(https://data.nal.usda.gov/dataset/solarcalc-10)."
"<br><br>"
"Subsequent versions of the SolarcCalc module implemented performance "
"improvements and fixed some issues with the original code and method."
)
INSTALL_REQUIRES = ['numpy', 'pandas']
setup(name='solarcalc',
version=__version__,
description=("Hourly global solar radiation estimator."),
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
license='MIT',
author='Jean-Sébastien Gosselin',
author_email='jean-sebastien.gosselin@outlook.ca',
url=__project_url__,
py_modules=['solarcalc'],
install_requires=INSTALL_REQUIRES,
data_files=[('', ['demo_climatedata.csv'])],
classifiers=["Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Topic :: Scientific/Engineering"
],
)