added additional search paths for dll on windows

pull/182/head
Michael Dawson-Haggerty 2013-11-12 22:06:42 -05:00
parent babc54478e
commit f1e43f560a
1 changed files with 5 additions and 1 deletions

View File

@ -30,7 +30,11 @@ if os.name=='posix':
elif os.name=='nt': elif os.name=='nt':
ext_whitelist.append('.dll') ext_whitelist.append('.dll')
path_dirs = os.environ['PATH'].split(';')
for dir_candidate in path_dirs:
if 'assimp' in dir_candidate.lower():
additional_dirs.append(dir_candidate)
#print(additional_dirs) #print(additional_dirs)
def vec2tuple(x): def vec2tuple(x):
""" Converts a VECTOR3D to a Tuple """ """ Converts a VECTOR3D to a Tuple """