-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
32 lines (30 loc) · 978 Bytes
/
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
[project]
name = "eONpy"
version = "0.0.1"
description = "Python bindings for eon client v2"
authors = [
{name = "Rohit Goswami", email = "[email protected]"},
]
dependencies = [
"numpy>=1.26.4",
"pybind11>=2.12.0",
]
requires-python = ">=3.9"
readme = "readme.md"
license = {text = "MIT"}
[build-system]
# These are all that are seen by pip install .
requires = ["pybind11", "meson-python", "numpy"]
build-backend = "mesonpy"
# Important, tells pip how to install the package
[tool.meson-python.args]
setup = [
'-Dwrap_mode=forcefallback',
# ^-- collects subprojects, see https://github.com/ERGO-Code/HiGHS/pull/1343#discussion_r1252446966
]
# Skip during installation to prevent local RPATH stripping issues
# See: https://github.com/mesonbuild/meson-python/discussions/410
install = ['--skip-subprojects']
# Include so auditwheel on the CI can correctly generate wheels
# See: https://github.com/ERGO-Code/HiGHS/pull/1343/files
dist = ['--include-subprojects']