-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
82 lines (73 loc) · 3.01 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
81
82
"""
Copyright (c) 2021-2024 MeteoSwiss, contributors listed in AUTHORS.
Distributed under the terms of the 3-Clause BSD License.
SPDX-License-Identifier: BSD-3-Clause
"""
# Import from python packages
from pathlib import Path
from setuptools import setup, find_packages # Always prefer setuptools over distutils
# Run the version file
with open(Path('.') / 'src' / 'ampycloud' / 'version.py', encoding='utf-8') as fid:
version = next(line.split("'")[1] for line in fid.readlines() if 'VERSION' in line)
with open("README.md", "r", encoding='utf-8') as fh:
long_description = fh.read()
setup(
dependency_links=[],
name="ampycloud",
version=version,
license='BSD-3-Clause',
# Include all packages under src
packages=find_packages(where="src"),
# Tell setuptools packages are under src
package_dir={"": "src"},
url="https://meteoswiss.github.io/ampycloud",
project_urls={
'Source': 'https://github.com/MeteoSwiss/ampycloud/',
'Changelog': 'https://meteoswiss.github.io/ampycloud/changelog.html',
'Issues': 'https://github.com/MeteoSwiss/ampycloud/issues'
},
author="Frédéric P.A. Vogt, Daniel Regenass",
author_email="[email protected]",
description="Determining the sky coverage fraction and base height of cloud layers using"
"ceilometer data",
long_description=long_description,
long_description_content_type="text/markdown",
python_requires='>=3.9.0',
install_requires=[
"matplotlib >= 3.7.2",
"numpy >= 1.20.3",
"scikit-learn >= 1.2.0",
"scipy >= 1.7.3",
"statsmodels >= 0.14.3",
"pandas >= 1.5",
"pyyaml",
"ruamel.yaml"
],
extras_require={
'dev': ['sphinx', 'sphinx-rtd-theme', 'pylint', 'pytest', 'setuptools', 'mypy']
},
# Setup entry points to use ampycloud directly from a terminal
entry_points={
'console_scripts': ['ampycloud_speed_test=ampycloud.__main__:ampycloud_speed_test',
'ampycloud_copy_prm_file=ampycloud.__main__:ampycloud_copy_prm_file']},
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Atmospheric Science',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: BSD License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
# Let's make sure the parameter non-py files get included in the wheels on pypi.
include_package_data=True
)