libraries options not split in setup.cfg

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alexandre Guimond

    #1

    libraries options not split in setup.cfg

    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.comma nd.build_ext.py of python 2.4. (line147):

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

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

    elif type(self.libra ry_dirs) is StringType:
    self.library_di rs = string.split(se lf.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;libgslcb las

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

    thx for any help.

Working...