From baa42dfdb4d080ab15e355fed37a9d9f16495b4e Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Thu, 22 Apr 2004 22:42:21 +0000 Subject: [PATCH] Added a python_prefix capability that allows one to put python site packages in a different spot than cantera installation files. --- configure | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/configure b/configure index e15c82b97..cee6d0cbb 100755 --- a/configure +++ b/configure @@ -82,6 +82,16 @@ SET_PYTHON_SITE_PACKAGE_TOPDIR=${SET_PYTHON_SITE_PACKAGE_TOPDIR:="n"} PYTHON_SITE_PACKAGE_TOPDIR=${PYTHON_SITE_PACKAGE_TOPDIR:="/usr/local"} +# +# Proposed extension: +# Use when site packages must be put in system directories +# but Cantera tutorials must be put in user space. +# (this is pretty much the norm on many multiuser unix systems) +# +SET_PYTHON_SITE_PACKAGE_TOPDIR=${SET_PYTHON_SITE_PACKAGE_TOPDIR:="n"} + +PYTHON_SITE_PACKAGE_TOPDIR=${PYTHON_SITE_PACKAGE_TOPDIR:="/usr/local"} + #----------- Matlab -------------------------------------------------- @@ -313,8 +323,9 @@ export LIB_DIR export FORT_MODULE_DIRECTORY export FORT_MODULE_PATH_COMMAND export OBJ_EXT -export PYTHON_INCDIR #export PYTHON_CMD +export SET_PYTHON_SITE_PACKAGE_DIR +export PYTHON_SITE_PACKAGE_TOPDIR export PIC export SHARED export SOEXT