We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4702764 commit 6ec99a5Copy full SHA for 6ec99a5
quaddtype2/meson.build
@@ -6,17 +6,17 @@ project(
6
py_mod = import('python')
7
py = py_mod.find_installation('/home/rootacess/numpy-user-dtypes/quaddtype2/.venv/bin/python3')
8
9
-# incdir_numpy = run_command(py,
10
-# [
11
-# '-c',
12
-# 'import numpy; import os; print(os.path.relpath(numpy.get_include()))'
13
-# ],
14
-# check: true
15
-# ).stdout().strip()
+incdir_numpy = run_command(py,
+ [
+ '-c',
+ 'import numpy; import os; print(os.path.relpath(numpy.get_include()))'
+ ],
+ check: true
+).stdout().strip()
16
17
includes = include_directories(
18
[
19
- '.venv/lib/python3.12/site-packages/numpy/_core/include',
+ incdir_numpy,
20
'quaddtype/src'
21
]
22
)
0 commit comments