Update of /cvsroot/boost/boost/libs/python/build
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22646/libs/python/build

Modified Files:
      Tag: RC_1_34_0
        Jamfile.v2 
Log Message:
Correct class/function mismatches for MSVC and bring across
documentation tweaks from HEAD.


Index: Jamfile.v2
===================================================================
RCS file: /cvsroot/boost/boost/libs/python/build/Jamfile.v2,v
retrieving revision 1.11.2.4
retrieving revision 1.11.2.5
diff -u -d -r1.11.2.4 -r1.11.2.5
--- Jamfile.v2  11 Sep 2006 22:27:26 -0000      1.11.2.4
+++ Jamfile.v2  13 Dec 2006 15:08:26 -0000      1.11.2.5
@@ -12,21 +12,6 @@
 
 project boost/python
     : source-location ../src
-        : requirements 
-        #<include>$(PYTHON_PATH)/include
-        #  $(lib_condition)<library-path>$(PYTHON_PATH)/libs
-        #    <link>shared:<library>$(PYTHON_LIB)
-        #    <define>$(defines)
-        #: usage-requirements # requirement that will be propageted to *users* 
of this library
-        #  <include>$(PYTHON_PATH)/include
-
-# We have a bug which causes us to conclude that conditionalized
-# properties in this section are not free.
-#          $(lib_condition)<library-path>$(PYTHON_PATH)/lib/python2.2/config
-#            <shared>true:<find-library>$(PYTHON_LIB)
-            
-        # <library-path>$(PYTHON_PATH)/lib/python2.2/config
-        #    <library>$(PYTHON_LIB)
     ;
 
 lib boost_python
@@ -63,16 +48,21 @@
     :   # requirements
         <link>static:<define>BOOST_PYTHON_STATIC_LIB 
         <define>BOOST_PYTHON_SOURCE
-        # On Linux, we don't link to Python library itself. If
-        # Boost.Python is used for extension, all Python
-        # symbols are available in Python interpreter.
-        # If Boost.Python is used for extending, client
-        # is required to link to /python//python itself.
-        # On Windows, all code using Python has to link
-        # to python import library. The 'python_for_extension'
-        # is the target that's setup to provide either just
-        # include paths, or import library.  
+      
+        # On Windows, all code using Python has to link to the Python
+        # import library.
+        #
+        # On *nix we never link libboost_python to libpython.  When
+        # extending Python, all Python symbols are provided by the
+        # Python interpreter executable.  When embedding Python, the
+        # client executable is expected to explicitly link to
+        # /python//python (the target representing libpython) itself.
+        #
+        # python_for_extensions is a target defined by Boost.Build to
+        # provide the Python include paths, and on Windows, the Python
+        # import library, as usage requirements.
         <library>/python//python_for_extensions
+      
     :   # default build
         <link>shared
     :   # usage requirements


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to