From d779a94cfb5faa6c02c5dc1bdd441d1899b05b8d Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 22 Aug 2002 18:22:35 +0000 Subject: [PATCH] obsoleted [SVN r15060] --- build/Jamfile | 6 +----- build/__init__.py | 22 ---------------------- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 build/__init__.py diff --git a/build/Jamfile b/build/Jamfile index 889a8a29..2b583d17 100644 --- a/build/Jamfile +++ b/build/Jamfile @@ -61,11 +61,7 @@ subproject libs/python/build ; SEARCH on python.jam = $(BOOST_BUILD_PATH) ; include python.jam ; -# This nasty hack works with versions of Python 1.5.2 -> 2.2 to avoid -# building any Python stuff if there's no installation. -SEARCH on __init__.py = $(PYTHON_STDLIB_PATH)/test $(SUBDIR) ; -include __init__.py ; -if ! $(gNO_PYTHON_INSTALL) +if [ check-python-config ] { local PYTHON_PROPERTIES = $(PYTHON_PROPERTIES) BOOST_PYTHON_DYNAMIC_LIB ; diff --git a/build/__init__.py b/build/__init__.py deleted file mode 100644 index 97b20d9c..00000000 --- a/build/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# Dummy file actually to be included by Jam when the python headers -# can't be found - -if ! $(gNO_PYTHON_INSTALL) -{ - ECHO "---------------------------------------------------------------------" ; - ECHO skipping Boost.Python library build ; - ECHO You can configure the location of your python installation, by setting: ; - ECHO "PYTHON_ROOT - currently" \"$(PYTHON_ROOT:J=" ")\" ; - ECHO "PYTHON_VERSION - The 2-part python Major.Minor version number (e.g." ; - ECHO " \"2.2\", NOT \"2.2.1\") - currently" \"$(PYTHON_VERSION)\" ; - ECHO ; - ECHO "The following are automatically configured from PYTHON_ROOT if not" ; - ECHO "otherwise set:" ; - ECHO " PYTHON_INCLUDES - path to Python #include directories; currently" \"$(PYTHON_INCLUDES:J=" ")\" ; - ECHO " PYTHON_LIB_PATH - path to Python library; currently" ; - ECHO " " \"$(PYTHON_LIB_PATH:J=" ")\" ; - ECHO " PYTHON_STDLIB_PATH - path to Python standard library modules; currently" ; - ECHO " " \"$(PYTHON_STDLIB_PATH:J=" ")\" ; - ECHO "---------------------------------------------------------------------" ; -} -gNO_PYTHON_INSTALL ?= true ;