-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathpyproject.toml
79 lines (72 loc) · 3.04 KB
/
pyproject.toml
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
[build-system]
requires = [ "setuptools>=41", "wheel", "setuptools-git-versioning" ]
build-backend = "setuptools.build_meta"
[project]
name = "esmpy"
description = "ESMF Python interface"
readme = "README.md"
maintainers = [ { name = "ESMF Core Team", email = "[email protected]" } ]
authors = [
{ name = "University Corporation for Atmospheric Research" },
{ name = "Massachusetts Institute of Technology" },
{ name = "Geophysical Fluid Dynamics Laboratory" },
{ name = "University of Michigan" },
{ name = "National Centers for Environmental Prediction" },
{ name = "Los Alamos National Laboratory" },
{ name = "Argonne National Laboratory" },
{ name = "NASA Goddard Space Flight Center" },
]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: University of Illinois/NCSA Open Source License",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: Oceanography",
"Topic :: Software Development :: Libraries :: Application Frameworks",
]
# The following is the earliest python version that we test with:
requires-python = ">=3.8"
license = { text = "University of Illinois-NCSA" }
dependencies = [
# The following is the earliest numpy version that we test with; the latest we test
# with is version 2.x, so we assume that version 3 might break backwards
# compatibility:
"numpy >= 1.19, < 3",
'importlib-metadata; python_version < "3.8"',
# setuptools-git-versioning shouldn't be needed here, but is
# included as a workaround for problems with the build-time
# installation of this package with python 3.10 (given by the
# build-system section above). By including it here, we at least
# ensure that this package will be available for a second or
# subsequent pip install of esmpy.
'setuptools-git-versioning; python_version >= "3.10"',
]
dynamic = [ "version" ]
[project.optional-dependencies]
testing = [
"pytest",
"pytest-json-report",
]
[project.urls]
Homepage = "http://earthsystemmodeling.org/esmpy/"
Documentation = "https://earthsystemmodeling.org/esmpy_doc/release/latest/html/"
sourcecode = "https://github.com/esmf-org/esmf/tree/develop/src/addon/esmpy"
releasenotes = "https://earthsystemmodeling.org/static/releases.html"
[tool.setuptools-git-versioning]
enabled = true
template = "{tag}"
dev_template = "{tag}"
dirty_template = "{tag}"
starting_version = "8.9.0beta" # this is a backup for pip <= 22.0 where git-versioning doesn't work; it is also needed for the conda distribution of ESMPy; it is important that this does NOT include "beta" on release branches
[tool.dynamic]
version = "placeholder" # this is a placeholder for the version pulled with git-versioning
[tool.setuptools.packages.find]
where = [ "src" ]
exclude = [ "doc*" ]
[tool.pytest.ini_options]
testpaths = [
"src/esmpy/test/test_api",
"examples/test_examples.py",
"src/esmpy/test/regrid_from_file/test_regrid_from_file.py",
]