1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-08-25 06:31:43 +02:00
trexio/python/set_NUMPY_INCLUDEDIR.sh
q-posev b9c3ddb30e FIX: bug related to import numpy in setup.py script
use the custom NUMPY_INCLUDEDIR environment variable derived from a call to numpy.get_include
2021-09-09 15:09:26 +02:00

5 lines
106 B
Bash
Executable File

INCLUDEDIR=`python -c 'import numpy; print(numpy.get_include())'`
export NUMPY_INCLUDEDIR=${INCLUDEDIR}