From 5cefbc7dad066b6e0eb05e7053f4c829df1d7808 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Mon, 7 Aug 2017 08:17:21 -0700 Subject: [PATCH] path.join doesn't accept a list --- python/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/setup.py b/python/setup.py index bccd9965..38f8a124 100644 --- a/python/setup.py +++ b/python/setup.py @@ -145,7 +145,8 @@ class build_ext(_build_ext): except OSError: pass - build_prefix = pjoin(['source'] + [self.build_type] if sys.platform == 'win32' else []) + build_prefix = ['source'] + ([self.build_type] if sys.platform == 'win32' else []) + build_prefix = pjoin(*build_prefix) def move_lib(lib_name): lib_filename = (shared_library_prefix + lib_name +