File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,18 +151,21 @@ def get_gsl_config():
151151print ("LIBRARY DIR = {!r}" .format (library_dirs ))
152152import glob
153153
154- pattern = 'gsl.*'
154+ pattern = 'gsl* .*'
155155
156156library_dir = library_dirs [0 ]
157157matching_files = glob .glob (library_dir + '/' + pattern )
158158if len (matching_files ) != 0 :
159159 print ("GSL LIBRARY FOUND in {!r}" .format (matching_files [0 ]))
160160
161161print ("----- CONDA -----" )
162- library_dir = "C:\\ Miniconda\\ envs \\ __setup_conda "
162+ library_dir = "C:\\ Miniconda"
163163matching_files = glob .glob (library_dir + '\\ ' + pattern )
164164if len (matching_files ) != 0 :
165- print ("GSL LIBRARY FOUND in {!r}" .format (matching_files [0 ]))
165+ for f in matching_files :
166+ print (f )
167+ # print("GSL LIBRARY FOUND in {!r}".format(matching_files[0]))
168+ print ("----- CONDA END -----" )
166169
167170# define extension here
168171pdffit2module = Extension ('diffpy.pdffit2.pdffit2' , [
You can’t perform that action at this time.
0 commit comments