This is an automated email from the ASF dual-hosted git repository.

uwe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 07beb51  ARROW-2333: [Python] Fix bundling boost with default namespace
07beb51 is described below

commit 07beb518ebbfa9dc4e673b3a3fef781886ff4159
Author: Antoine Pitrou <[email protected]>
AuthorDate: Thu Mar 22 18:33:52 2018 +0100

    ARROW-2333: [Python] Fix bundling boost with default namespace
    
    Author: Antoine Pitrou <[email protected]>
    
    Closes #1773 from pitrou/ARROW-2333-boost-bundling and squashes the 
following commits:
    
    ad79a38 <Antoine Pitrou> ARROW-2333:  Fix bundling boost with default 
namespace
---
 python/setup.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/setup.py b/python/setup.py
index 4536260..cf44b1e 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -111,7 +111,7 @@ class build_ext(_build_ext):
         _build_ext.initialize_options(self)
         self.extra_cmake_args = os.environ.get('PYARROW_CMAKE_OPTIONS', '')
         self.build_type = os.environ.get('PYARROW_BUILD_TYPE', 'debug').lower()
-        self.boost_namespace = os.environ.get('PYARROW_BOOST_NAMESPACE')
+        self.boost_namespace = os.environ.get('PYARROW_BOOST_NAMESPACE', 
'boost')
 
         self.cmake_cxxflags = os.environ.get('PYARROW_CXXFLAGS', '')
 
@@ -208,7 +208,7 @@ class build_ext(_build_ext):
             cmake_options.append('-DCMAKE_BUILD_TYPE={0}'
                                  .format(self.build_type.lower()))
 
-            if self.boost_namespace is not None:
+            if self.boost_namespace != 'boost':
                 cmake_options.append('-DBoost_NAMESPACE={}'
                                      .format(self.boost_namespace))
 

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to