Skip to content

Commit 9ef6bb9

Browse files
committed
debug 2
1 parent 833330f commit 9ef6bb9

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

setup.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,14 @@ def get_gsl_config():
153153

154154
pattern = 'gsl.*'
155155

156-
matching_files = glob.glob(library_dirs + '\\' + pattern)
156+
library_dir = library_dirs[0]
157+
matching_files = glob.glob(library_dir + '/' + pattern)
158+
if len(matching_files) != 0:
159+
print("GSL LIBRARY FOUND in {!r}".format(matching_files[0]))
160+
161+
print("----- CONDA -----")
162+
library_dir = "C:\\Miniconda\\envs\\__setup_conda"
163+
matching_files = glob.glob(library_dir + '\\' + pattern)
157164
if len(matching_files) != 0:
158165
print("GSL LIBRARY FOUND in {!r}".format(matching_files[0]))
159166

0 commit comments

Comments
 (0)