mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 09:05:47 +08:00
fix setup.py develop for plasma
This commit is contained in:
1 parent
5f7b779a5f
commit
e33443dd5a
1 file changed
+3
-1
+3
-1
@@ -101,7 +101,7 @@ class build_ext(_build_ext):
|
||||
os.environ.get('PYARROW_WITH_PARQUET', '0'))
|
||||
self.with_plasma = strtobool(
|
||||
os.environ.get('PYARROW_WITH_PLASMA', '0'))
|
||||
if self.with_plasma:
|
||||
if self.with_plasma and "plasma" not in self.CYTHON_MODULE_NAMES:
|
||||
self.CYTHON_MODULE_NAMES.append("plasma")
|
||||
self.bundle_arrow_cpp = strtobool(
|
||||
os.environ.get('PYARROW_BUNDLE_ARROW_CPP', '0'))
|
||||
@@ -288,6 +288,8 @@ class build_ext(_build_ext):
|
||||
def _failure_permitted(self, name):
|
||||
if name == '_parquet' and not self.with_parquet:
|
||||
return True
|
||||
if name == 'plasma' and not self.with_plasma:
|
||||
return True
|
||||
return False
|
||||
|
||||
def _get_inplace_dir(self):
|
||||
|
||||
Reference in new issue
Block a user