/
pyproject.toml
120 lines (97 loc) · 3.15 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
#########################
# build-system settings #
#########################
[build-system]
requires = [
"scikit-build-core>=0.8",
]
build-backend = "scikit_build_core.build"
####################
# project settings #
####################
[project]
name = "python-casacore"
description = "A wrapper around CASACORE, the radio astronomy library"
dynamic = ["version"]
keywords = ["pyrap", "casacore", "utilities", "astronomy"]
license = {file = "LICENSE"}
readme = {file = "README.rst", content-type = "test/x-rst"}
requires-python = ">=3.7"
authors = [
{name = "Malte Marquarding", email = "Malte.Marquarding@gmail.com"},
{name = "Ger van Diepen", email = "gervandiepen@gmail.com"},
{name = "Gijs Molenaar", email = "gijs@pythonic.nl"},
{name = "Tammo Jan Dijkema", email = "dijkema@astron.nl"},
{name = "Marcel Loose", email = "loose@astron.nl"},
]
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: C++",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Astronomy",
]
dependencies = [
"numpy",
"six",
]
[project.urls]
Homepage = "https://github.com/casacore/python-casacore"
#########################
# cibuildwheel settings #
#########################
[tool.cibuildwheel]
build = "cp3{7,8,9,10,11,12}-*_x86_64"
build-verbosity = 1
environment = """ \
CXXFLAGS="-I/usr/include/cfitsio" \
"""
test-command = "cd {package}/tests && pytest"
test-requires = "pytest"
[tool.cibuildwheel.macos]
repair-wheel-command = """\
DYLD_LIBRARY_PATH=${BOOST_INSTALL_DIR}/lib delocate-wheel \
--require-archs {delocate_archs} -w {dest_dir} -v {wheel}\
"""
[tool.cibuildwheel.linux]
skip = ["*-musllinux_*"]
[[tool.cibuildwheel.overrides]]
select="cp37-*"
manylinux-x86_64-image = "quay.io/casacore/casacore:py37_master"
[[tool.cibuildwheel.overrides]]
select="cp38-*"
manylinux-x86_64-image = "quay.io/casacore/casacore:py38_master"
[[tool.cibuildwheel.overrides]]
select="cp39-*"
manylinux-x86_64-image = "quay.io/casacore/casacore:py39_master"
[[tool.cibuildwheel.overrides]]
select="cp310-*"
manylinux-x86_64-image = "quay.io/casacore/casacore:py310_master"
[[tool.cibuildwheel.overrides]]
select="cp311-*"
manylinux-x86_64-image = "quay.io/casacore/casacore:py311_master"
[[tool.cibuildwheel.overrides]]
select="cp312-*"
manylinux-x86_64-image = "quay.io/casacore/casacore:py312_master"
#########################
# scikit-build settings #
#########################
[tool.scikit-build]
cmake.version = ">=3.15"
ninja.version = ">=1.5"
logging.level = "INFO"
install.components = ["data", "libraries"]
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
sdist.exclude = [".github", ".gitignore"]
sdist.include = ["casacore/_version.py"]
wheel.packages = ["casacore", "pyrap"]
[tool.scikit-build.cmake.define]
BUILD_TESTING = "ON"
###########################
# setuptools_scm settings #
###########################
[tool.setuptools_scm]
write_to = "casacore/_version.py"