libraries options not split in setup.cfg

A

Alexandre Guimond

Hi. I just noticed that the "libraries" options under the [build_ext]
section in setup.cfg doesn't seem to get expanded. In particular, in
distutils.command.build_ext.py of python 2.4. (line147):

if type(self.libraries) is StringType:
self.libraries = [self.libraries]

though library_dirs for example gets split on ';' (line 156)

elif type(self.library_dirs) is StringType:
self.library_dirs = string.split(self.library_dirs,
os.pathsep)

is this a bug or am i using the "libraries" option in a wrong way in my
setup.cfg

libraries = libgsl;libgslcblas

(btw, the above gets expanded on windows to "libgsl;libgslcblas.lib" on
the cmdline (not splitting on the ';' character).

thx for any help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top