This commit is contained in:
Philipp Moritz committed 2017-07-19 10:08:32 -07:00
1 parent 997de1e93a
commit b863d13b58
3 files changed
+8 -5

No files matched your search

-3
View File
@@ -103,9 +103,6 @@ install(FILES
protocol.h
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/plasma")
# Plasma store
install(TARGETS plasma_store DESTINATION ${CMAKE_INSTALL_BINDIR})
# pkg-config support
configure_file(plasma.pc.in
"${CMAKE_CURRENT_BINARY_DIR}/plasma.pc"
+2 -2
View File
@@ -122,9 +122,9 @@ def start_plasma_store(plasma_store_memory=DEFAULT_PLASMA_STORE_MEMORY,
if use_valgrind and use_profiler:
raise Exception("Cannot use valgrind and profiler at the same time.")
module_dir = site.getsitepackages()
[plasma_dir] = glob.glob(os.path.join(module_dir[0], "plasma*"))
[plasma_dir] = glob.glob(os.path.join(module_dir[0], "pyarrow*"))
plasma_store_executable = os.path.join(os.path.abspath(plasma_dir),
"plasma/plasma_store")
"pyarrow/plasma_store")
plasma_store_name = "/tmp/plasma_store{}".format(random_name())
command = [plasma_store_executable,
"-s", plasma_store_name,
+6
View File
@@ -272,6 +272,12 @@ class build_ext(_build_ext):
shutil.move(self.get_ext_built_api_header(name),
pjoin(os.path.dirname(ext_path), name + '_api.h'))
# Move the plasma store
build_py = self.get_finalized_command('build_py')
source = os.path.join(self.build_type, "plasma_store")
target = os.path.join(build_lib, build_py.get_package_dir('plasma'), "plasma_store")
shutil.move(source, target)
os.chdir(saved_cwd)
def _failure_permitted(self, name):