-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
26 lines (23 loc) · 1.05 KB
/
pyproject.toml
File metadata and controls
26 lines (23 loc) · 1.05 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
[project]
name = 'pycsh'
dynamic = ["version"]
description = 'pycsh Python package'
readme = 'README.md'
# '>=3.10' at least because of Py_NewRef()
requires-python = '>=3.10'
authors = []
[tool.setuptools-git-versioning]
enabled = true
[build-system]
build-backend = 'mesonpy'
requires = ['meson-python']
[tool.meson-python.args]
# setup = ['-Dcsp:b_ndbebug=false']
# We need to install the targets of the lib/pycsh_core/ subproject, since we now defer the targets to that dependency.
# Normally all subproject targets would be installed, but we have to skip the CSP and libparam subprojects,
# which cause errors due to their header files not being in the Python wheel (maybe just for now?)
# P.S Many thanks to JB
install = ['--skip-subprojects', 'csp,param']
# TODO Kevin: builddir argument is documeted here: https://meson-python.readthedocs.io/en/stable/reference/config-settings.html#cmdoption-arg-builddir
# But is doesn't appear to work.
#builddir = 'builddir-pip' # Default pip builddir is 'build/', but that name is already taken by the 'build' script