Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > libraries options not split in setup.cfg

Thread Tools

libraries options not split in setup.cfg

Alexandre Guimond
Posts: n/a
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 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,

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

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.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
standard libraries don't behave like standard 'libraries' Sriram Srinivasan Python 13 11-12-2009 06:05 PM
a split is not a split Dumbell Computer Support 3 03-09-2009 10:45 PM
why doesn't this "belongs_to" line of code, using options override,not work??? (need help using belongs_to with options) Greg Hauptmann Ruby 1 10-30-2008 10:44 PM
Using mandatory libraries (custom class loading vs. expanding libraries) Karsten Wutzke Java 21 06-29-2007 09:25 PM
portable extensions options for external libraries Alexandre Guimond Python 1 10-18-2006 04:47 PM