fix binding install on python2 (#1231)
This commit is contained in:
@ -174,7 +174,10 @@ def build_libraries():
|
|||||||
|
|
||||||
if SYSTEM == 'darwin':
|
if SYSTEM == 'darwin':
|
||||||
for file in glob.glob(MAC_LIBRARY_FILE):
|
for file in glob.glob(MAC_LIBRARY_FILE):
|
||||||
shutil.copy(file, LIBS_DIR, follow_symlinks=False)
|
try:
|
||||||
|
shutil.copy(file, LIBS_DIR, follow_symlinks=False)
|
||||||
|
except:
|
||||||
|
shutil.copy(file, LIBS_DIR)
|
||||||
else:
|
else:
|
||||||
shutil.copy(LIBRARY_FILE, LIBS_DIR)
|
shutil.copy(LIBRARY_FILE, LIBS_DIR)
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user