Re: portable extensions options for external libraries

2006-10-18 Thread Robert Kern
Alexandre Guimond wrote: > so my question is: what is the right way of specifying extensions > options (include_dirs, libraries, library_dirs) so that they are > portable between windows and linux? i'm thinking environment variables. The user can already use command-line options and CFLAGS if he

portable extensions options for external libraries

2006-10-18 Thread Alexandre Guimond
Hi. I want to create a portable setup.py file for windows / linux for an extension package that i need to link with external libraries (gsl and boost). on windows i do something like this: imaging = Extension( 'pyag.imaging._imaging', sources = ( glob.glob( 'Source/pyag/imagi