forked from healpy/healpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
90 lines (76 loc) · 2.37 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
80
81
82
83
84
85
86
87
88
89
90
[project]
name = "healpy"
description = "Healpix tools package for Python"
dynamic = ["version"]
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Operating System :: POSIX",
"Programming Language :: C++",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Visualization",
]
authors = [
{ name = "C. Rosset", email = "[email protected]" },
{ name = "A. Zonca" },
]
license = { text = "GPL-2.0-only" }
requires-python = ">=3.9"
dependencies = ["numpy>=1.19", "astropy"]
[project.optional-dependencies]
all = ["matplotlib", "scipy"]
test = [
"pytest",
"pytest-cython",
"pytest-doctestplus",
"requests",
"matplotlib",
"scipy",
]
[project.urls]
homepage = "http://github.com/healpy"
[build-system]
requires = ["setuptools>=60",
"setuptools-scm>=8.0",
"cython>=0.16",
"numpy>=1.25",
"pykg-config"]
build-backend = 'setuptools.build_meta'
[tool.setuptools]
script-files = ["bin/healpy_get_wmap_maps.sh"]
[tool.setuptools.packages.find]
include = ["healpy*"]
[tool.setuptools.package-data]
healpy = ["data/*.fits",
"data/*_cmap.dat",
"data/totcls.dat",
"test/data/*.fits",
"test/data/*.fits.gz",
"test/data/*.sh"]
[tool.setuptools.exclude-package-data]
# Exclude C/C++/Cython source files from wheels.
"*" = ["*.cc", "*.cpp", "*.h", "*.pxd", "*.pyx"]
[tool.cibuildwheel]
# Skip PyPy builds; Astropy wheels are not built for PyPy.
# Skip i686 builds.
# Skip MUSL libc builds.
skip = "pp* *_i686 *-musllinux_*"
test-command = "pytest --doctest-plus --doctest-cython -v --pyargs healpy"
test-extras = ["test"]
[tool.cibuildwheel.linux]
# Build wheels for aarch64 under emulation.
archs = ["auto", "aarch64"]
[tool.cibuildwheel.macos]
before-all = "brew install autoconf automake libtool libomp"
[tool.setuptools_scm]
write_to = "healpy/version.py"
[tool.pytest.ini_options]
addopts = "--doctest-plus --doctest-cython -v"
testpaths = "healpy"