-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (87 loc) · 3.25 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (87 loc) · 3.25 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
[build-system]
requires = [
# >=77 for SPDX `license` / `license-files` support.
"setuptools>=77",
"wheel",
"cython",
# Building against NumPy 2 yields an extension that also runs on NumPy 1.
"numpy>=2.0",
]
build-backend = "setuptools.build_meta"
[project]
name = "cmac"
version = "0.2.0"
description = "Corrected Moments in Antenna Coordinates"
readme = "README.rst"
requires-python = ">=3.10"
license = "BSD-3-Clause"
license-files = ["LICENSE", "LICENSE_GPL.txt"]
authors = [
{ name = "Scott Collis" },
{ name = "Zachary Sherman" },
{ name = "Robert Jackson" },
]
maintainers = [
{ name = "Data Informatics and Geophysical Retrievals (DIGR)" },
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Atmospheric Science",
]
[project.urls]
Homepage = "https://github.com/ARM-Development/cmac"
Source = "https://github.com/ARM-Development/cmac"
Documentation = "https://www.arm.gov/data/data-sources/cmac-69"
[project.optional-dependencies]
# Install with `pip install -e .[test]` to get the testing extras.
# pytest-mpl drives the per-figure baseline image comparisons in
# cmac/tests/test_processing.py. Run with `pytest --mpl` to enable
# comparison; without it, baseline tests still pass as long as a Figure
# is returned.
test = [
"pytest",
"pytest-mpl",
"xarray",
"act-atmos"]
[tool.setuptools]
script-files = [
"scripts/cmac",
"scripts/cmac_animation",
"scripts/cmac_dask",
]
# Explicitly register the extension modules to be compiled. The NumPy include
# directory and the NumPy API macro are added by _cmac_build.build_ext below.
ext-modules = [
{ name = "cmac.calc_kdp_ray_fir", sources = ["cmac/calc_kdp_ray_fir.pyx"] }
]
[tool.setuptools.packages.find]
# namespaces = false matches the old find_packages() behaviour: cmac/tests has
# no __init__.py and is deliberately left out of the distribution.
include = ["cmac*"]
namespaces = false
[tool.setuptools.cmdclass]
build_ext = "_cmac_build.build_ext"
[tool.cibuildwheel]
# NumPy publishes no PyPy wheels any more, so a PyPy target could only be built
# by compiling NumPy from source. Skip rather than ship an untested artifact.
skip = "pp*"
[tool.cibuildwheel.linux]
# NumPy publishes no i686 wheels for any 2.x release, so a 32-bit build can
# only get NumPy by compiling it from source in the manylinux2014_i686 image,
# whose GCC 10.2.1 NumPy's own meson rejects. 64-bit only; no i686 wheel has
# ever been published for this project anyway.
archs = "x86_64"
# cibuildwheel defaults to the manylinux2014 image (glibc 2.17, GCC 10.2.1).
# NumPy >= 2.3 publishes only manylinux_2_28 wheels, so nothing installable is
# available in that image; pip falls back to the NumPy sdist and meson refuses
# with "NumPy requires GCC >= 10.3". Build on manylinux_2_28, where the
# published NumPy wheels install directly and no source build is attempted.
manylinux-x86_64-image = "manylinux_2_28"