-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
69 lines (56 loc) · 2.3 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
# this is based on scipy
[build-system]
build-backend = 'mesonpy'
requires = [
"meson>=0.60.0", # the "frontend" that configures the build
"ninja", # the "backend" that actually calls compilers
#"oldest-supported-numpy", # numpy needed for f2py
# numpy requirement for wheel builds for distribution on PyPI - building
# against 2.x yields wheels that are also compatible with numpy 1.x at
# runtime.
# Note that building against numpy 1.x works fine too - users and
# redistributors can do this by installing the numpy version they like and
# disabling build isolation.
"numpy>=2.0.0",
"meson-python>=0.9.0", # python build-backend interface for meson
"wheel",
]
[project]
name = "pyavl-wrapper"
license = {file = "LICENSE.txt"}
description="A direct Python interface for Mark Drela and Harold Youngren's famous AVL code."
dependencies = [
"numpy>=1.19",
]
readme = "README.md"
version = "1.8.0" # this automatically updates __init__.py
[tool.cibuildwheel]
skip = "cp36-* cp37-* pp* *_ppc64le *_i686 *_s390x"
build-verbosity = "3"
test-command = "bash {project}/tools/wheels/cibw_test_command.sh {project}"
[tool.cibuildwheel.linux]
manylinux-x86_64-image = "manylinux2014"
manylinux-aarch64-image = "manylinux2014"
before-build = "bash {project}/tools/wheels/cibw_before_build_linux.sh {project}"
[tool.cibuildwheel.macos]
before-build = "bash {project}/tools/wheels/cibw_before_build_macos.sh {project}"
[tool.cibuildwheel.windows]
before-build = "bash {project}/tools/wheels/cibw_before_build_win.sh {project}"
repair-wheel-command = "bash ./tools/wheels/repair_windows.sh {wheel} {dest_dir}"
[[tool.cibuildwheel.overrides]]
select = "*-win32"
[[tool.cibuildwheel.overrides]]
select = "*-win_amd64"
# can use pkg-config detection for win_amd64 because the installed rtools
# provide a working pkg-config.
# An alternative is to set CMAKE_PREFIX_PATH="c:/opt/openblas/if_32/32"
# Don't use double backslash for path separators, they don't get passed
# to the build correctly
# environment = { CMAKE_PREFIX_PATH="c:/opt/64" }
environment = { PKG_CONFIG_PATH="c:/opt/64/lib/pkgconfig" }
[project.urls]
homepage = "https://github.com/joanibal/pyavl"
# documentation =
source = "https://github.com/joanibal/pyavl"
# download =
tracker = "https://github.com/joanibal/pyavl/issues"