From: Craig Quiter Date: Thu, 16 Oct 2014 04:26:01 +0000 (-0700) Subject: Sometimes anaconda is installed in root. X-Git-Tag: submit/tizen/20180823.020014~572^2~104^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7da420b4ce2b07dad7fca42535a576cff43ce96;p=platform%2Fupstream%2Fcaffeonacl.git Sometimes anaconda is installed in root. Helps fix #489. --- diff --git a/Makefile.config.example b/Makefile.config.example index b6d95e3..e11db51 100644 --- a/Makefile.config.example +++ b/Makefile.config.example @@ -48,13 +48,15 @@ BLAS := atlas PYTHON_INCLUDE := /usr/include/python2.7 \ /usr/lib/python2.7/dist-packages/numpy/core/include # Anaconda Python distribution is quite popular. Include path: -# PYTHON_INCLUDE := $(HOME)/anaconda/include \ - # $(HOME)/anaconda/include/python2.7 \ - # $(HOME)/anaconda/lib/python2.7/site-packages/numpy/core/include +# Verify anaconda location, sometimes it's in root. +# ANACONDA_HOME := $(HOME)/anaconda +# PYTHON_INCLUDE := $(ANACONDA_HOME)/include \ + # $(ANACONDA_HOME)/include/python2.7 \ + # $(ANACONDA_HOME)/lib/python2.7/site-packages/numpy/core/include \ # We need to be able to find libpythonX.X.so or .dylib. PYTHON_LIB := /usr/lib -# PYTHON_LIB := $(HOME)/anaconda/lib +# PYTHON_LIB := $(ANACONDA_HOME)/lib # Whatever else you find you need goes here. INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include