summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-11-22 17:26:27 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-11-22 17:26:27 +0100
commitbbda2ad4d12a839701737a98e210cef489d62177 (patch)
tree1858f04323de6be66580f7b156675cd15a51f2c2
parentd545273dc7feb0027effef782c09769372ba23c1 (diff)
downloadastra-bbda2ad4d12a839701737a98e210cef489d62177.tar.gz
astra-bbda2ad4d12a839701737a98e210cef489d62177.tar.bz2
astra-bbda2ad4d12a839701737a98e210cef489d62177.tar.xz
astra-bbda2ad4d12a839701737a98e210cef489d62177.zip
Avoid six for PYINCDIR in Makefile.in
-rw-r--r--build/linux/Makefile.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/linux/Makefile.in b/build/linux/Makefile.in
index d760a8e..d248947 100644
--- a/build/linux/Makefile.in
+++ b/build/linux/Makefile.in
@@ -76,8 +76,7 @@ endif
ifeq ($(python),yes)
PYTHON = @PYTHON@
-PYLIBDIR := $(shell $(PYTHON) -c 'from distutils.sysconfig import get_config_var; import six; six.print_(get_config_var("LIBDIR"))')
-PYINCDIR := $(shell $(PYTHON) -c 'from distutils.sysconfig import get_python_inc; import six; six.print_(get_python_inc())')
+PYINCDIR := $(shell $(PYTHON) -c 'from __future__ import print_function; from distutils.sysconfig import get_python_inc; print(get_python_inc())')
PYLIBVER = `basename $(PYINCDIR)`
CPPFLAGS += -DASTRA_PYTHON -I$(PYINCDIR)
PYCPPFLAGS := $(CPPFLAGS)