Skip to content

Commit 833330f

Browse files
committed
debug
1 parent 19f63bd commit 833330f

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

setup.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@ def get_gsl_config():
147147
library_dirs += gcfg['library_dirs']
148148
# add optimization flags for other compilers if needed
149149

150+
print("INCLUDE DIR = {!r}".format(include_dirs))
151+
print("LIBRARY DIR = {!r}".format(library_dirs))
152+
import glob
153+
154+
pattern = 'gsl.*'
155+
156+
matching_files = glob.glob(library_dirs + '\\' + pattern)
157+
if len(matching_files) != 0:
158+
print("GSL LIBRARY FOUND in {!r}".format(matching_files[0]))
150159

151160
# define extension here
152161
pdffit2module = Extension('diffpy.pdffit2.pdffit2', [

0 commit comments

Comments
 (0)