-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
109 lines (99 loc) · 3.38 KB
/
setup.py
File metadata and controls
109 lines (99 loc) · 3.38 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# coding: utf-8
# Copyright 2020-2023 IFREMER (Brest, FRANCE), all rights reserved.
# contact -- mailto:nicolas.raillard@ifremer.fr
#
# This file is part of Resourcecode.
#
# Resourcecode is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3.0 of the License, or any later version.
#
# Resourcecode is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along
# with Resourcecode. If not, see <https://www.gnu.org/licenses/>.
from pathlib import Path
from setuptools import find_packages, setup
HERE = Path(__file__).parent
version_context = {}
with open(HERE / "resourcecode" / "__version__.py") as f:
exec(f.read(), version_context)
author = "Nicolas Raillard (IFREMER, Brest)"
author_email = "nicolas.raillard@ifremer.fr"
__version__ = version_context["__version__"]
description = "The ResourceCODE Marine Data Toolbox is a python package to facilitate the\
access to recent hindcast database of sea-state , along with a set of state-of-the-art methods for data analysis."
url = "https://resourcecode-project.github.io/py-resourcecode/"
license = "GPL-v3.0"
install_requires = [
"pandas >= 1.0.0, < 3.0.0",
"requests >= 2.23.0",
"numpy >= 1.20.1, < 2.0.0",
"scipy >= 1.6.1, < 1.14.0",
"pyextremes >= 2.0.0",
"pytest >= 7.0.0",
"pyarrow >= 6.0.0",
"plotly >= 4.12.0",
"numexpr >= 2.7.0",
"xarray >= 0.19.0",
"netCDF4 >= 1.6.0",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
]
keywords = [
"statistics",
"extreme",
"extreme value analysis",
"eva",
"coastal",
"ocean",
"marine",
"environmental",
"engineering",
"renewable",
"MRE",
"offshore",
"data",
"hindcast",
]
setup(
name="resourcecode",
version=__version__,
license=license,
python_requires=">=3.9, <3.13",
description=description,
author=author,
author_email=author_email,
long_description=open("README.md", "r").read(),
long_description_content_type="text/markdown",
install_requires=install_requires,
classifiers=classifiers,
keywords=keywords,
url=url,
packages=find_packages(exclude=["test"]),
data_files=[("etc/resourcecode", ["config/config.ini"])],
include_package_data=True,
zip_safe=False,
project_urls={
"GitHub": "https://github.com/Resourcecode-project/py-resourcecode",
"Web Portal": "https://resourcecode.ifremer.fr",
"PyPI": "https://pypi.org/project/resourcecode",
},
)