-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (83 loc) · 2.22 KB
/
pyproject.toml
File metadata and controls
95 lines (83 loc) · 2.22 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
[project]
name = "arcae"
version = "0.5.1"
authors = [
{name = "Simon Perkins", email = "simon.perkins@gmail.com"}
]
description = "Arrow bindings for casacore"
readme = {file = "README.rst", content-type = "text/x-rst"}
requires-python = ">= 3.11"
license = {file = "LICENSE"}
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3"
]
dependencies = [
"numpy >= 2.0.0",
"pyarrow == 23.0.1"
]
[project.optional-dependencies]
applications = [
"click",
"rich",
]
dev = [
"pre-commit",
"tbump"
]
test = [
"duckdb",
"platformdirs",
"pytest >= 7.0.0",
"python-casacore >= 3.5.0; sys_platform == 'linux' and platform_machine == 'x86_64' and python_version<'3.14'",
"requests"
]
[project.scripts]
arcae = "arcae.applications.entrypoint:main"
[project.urls]
Repository = "https://github.com/ratt-ru/arcae"
[build-system]
requires = [
"cython>=3.2.0",
"scikit-build-core",
"numpy >= 2.0.0",
"pyarrow == 23.0.1"]
build-backend = "scikit_build_core.build"
[tool.setuptools.packages]
find = {}
[tool.scikit-build]
# build-dir = "/tmp/arcae"
cmake.version = ">=3.26.1"
cmake.build-type = "RelWithDebInfo"
install.strip = false
[tool.cibuildwheel]
build-frontend = "build"
manylinux-x86_64-image = "manylinux_2_28"
manylinux-aarch64-image = "manylinux_2_28"
test-command = "{package}/ci/scripts/run-tests.sh"
[tool.cibuildwheel.linux]
before-all = "{package}/ci/scripts/before-all-linux.sh"
test-extras = ["applications", "test"]
repair-wheel-command = """
auditwheel repair \
-w {dest_dir} {wheel} \
--exclude libarrow_python.so.2300 \
--exclude libarrow.so.2300
"""
[tool.cibuildwheel.macos]
before-all = "{package}/ci/scripts/before-all-macos.sh"
before-build = """
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
"""
repair-wheel-command = """
DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH delocate-listdeps {wheel}
DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH delocate-wheel \
--require-archs {delocate_archs} \
-w {dest_dir} \
-v {wheel} \
--exclude libarrow_python.2300.dylib \
--exclude libarrow.2300.dylib \
--ignore-missing-dependencies
"""