forked from NOAA-GFDL/PyFV3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (46 loc) · 1.54 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
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",
"xarray",
]
test_requirements = ["pytest", "pytest-subtests", "serialbox"]
ndsl_requirements = ["ndsl @ git+https://github.com/NOAA-GFDL/NDSL.git@main"]
develop_requirements = test_requirements + ndsl_requirements + ["pre-commit"]
extras_requires = {
"test": test_requirements,
"ndsl": ndsl_requirements,
"develop": develop_requirements,
}
setup(
author="The Allen Institute for Artificial Intelligence",
author_email="[email protected]",
python_requires=">=3.8",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
description="pyFV3 is a NDSL-based FV3 dynamical core for atmospheric models",
install_requires=requirements,
extras_require=extras_requires,
license="BSD license",
long_description=readme,
include_package_data=True,
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,
)