-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
61 lines (52 loc) · 1.53 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import find_namespace_packages, setup
with open("README.md", encoding="utf-8") as readme_file:
readme = readme_file.read()
requirements = [
"f90nml>=1.1.0",
"numpy==1.26.4",
"xarray",
]
test_requirements = [
"coverage",
"pytest",
"pytest-subtests",
"serialbox",
]
ndsl_requirements = ["ndsl @ git+https://github.com/NOAA-GFDL/[email protected]"]
develop_requirements = [
*ndsl_requirements,
*test_requirements,
"pre-commit",
]
extras_requires = {
"develop": develop_requirements,
"ndsl": ndsl_requirements,
"test": test_requirements,
}
setup(
author="NOAA - Geophysical Fluid Dynamics Laboratory",
author_email="[email protected]",
python_requires=">=3.11,<3.12",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
],
description="PyFV3 is a NDSL-based FV3 dynamical core for atmospheric models.",
install_requires=requirements,
extras_require=extras_requires,
license="Apache 2.0 license",
long_description=readme,
name="pyFV3",
packages=find_namespace_packages(include=["pyFV3", "pyFV3.*"]),
setup_requires=[],
test_suite="tests",
url="https://github.com/NOAA-GFDL/pyFV3",
version="0.2.0",
zip_safe=False,
)