@@ -68,26 +68,22 @@ BLAS := atlas
68
68
69
69
# NOTE: this is required only if you will compile the python interface.
70
70
# We need to be able to find Python.h and numpy/arrayobject.h.
71
- PYTHON_INCLUDE := /usr/include/python2.7 \
72
- /usr/lib/python2.7/dist-packages/numpy/core/include
71
+ PYTHON_LIBRARIES := boost_python3 python3.8
72
+ PYTHON_INCLUDE := /usr/include/python3.8 \
73
+ /usr/lib/python3/dist-packages/numpy/core/include
73
74
# Anaconda Python distribution is quite popular. Include path:
74
75
# Verify anaconda location, sometimes it's in root.
75
76
# ANACONDA_HOME := $(HOME)/anaconda
76
77
# PYTHON_INCLUDE := $(ANACONDA_HOME)/include \
77
- # $(ANACONDA_HOME)/include/python2.7 \
78
- # $(ANACONDA_HOME)/lib/python2.7/site-packages/numpy/core/include
79
-
80
- # Uncomment to use Python 3 (default is Python 2)
81
- # PYTHON_LIBRARIES := boost_python3 python3.5m
82
- # PYTHON_INCLUDE := /usr/include/python3.5m \
83
- # /usr/lib/python3.5/dist-packages/numpy/core/include
78
+ # $(ANACONDA_HOME)/include/python3.8 \
79
+ # $(ANACONDA_HOME)/lib/python3.8/site-packages/numpy/core/include
84
80
85
81
# We need to be able to find libpythonX.X.so or .dylib.
86
82
PYTHON_LIB := /usr/lib /usr/local/lib
87
83
# PYTHON_LIB := $(ANACONDA_HOME)/lib
88
84
89
85
# Homebrew installs numpy in a non standard path (keg only)
90
- # PYTHON_INCLUDE += $(dir $(shell python -c 'import numpy.core; print(numpy.core.__file__)'))/include
86
+ # PYTHON_INCLUDE += $(dir $(shell python3 -c 'import numpy.core; print(numpy.core.__file__)'))/include
91
87
# PYTHON_LIB += $(shell brew --prefix numpy)/lib
92
88
93
89
# Uncomment to support layers written in Python (will link against Python libs)
0 commit comments