Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

libraries options not split in setup.cfg

 
 
Alexandre Guimond
Guest
Posts: n/a
 
      10-19-2006
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.

 
Reply With Quote
 
 
 
Reply

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



Advertisments