Cast build_type to lowercase in case env variable is uppercase

Change-Id: I0b0a7dcaa686dab97ca34a2b6dee3532bc36145b
This commit is contained in:
Wes McKinney committed 2016-11-01 14:19:09 -04:00
1 parent 74bfa7187c
commit 3cdaeaf4ce
1 file changed
+1 -1
+1 -1
View File
@@ -103,7 +103,7 @@ class build_ext(_build_ext):
def initialize_options(self):
_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')
self.build_type = os.environ.get('PYARROW_BUILD_TYPE', 'debug').lower()
CYTHON_MODULE_NAMES = [
'array',