[C++-sig] Re: help building hello world example on Debian

Faheem Mitha faheem at email.unc.edu
Sun Apr 11 22:45:21 CEST 2004


On Sun, 11 Apr 2004 14:45:26 -0400, Daniel Holth <dholth at fastmail.fm> wrote:
>
> Faheem Mitha wrote:
>
>| Just one question about the config.py in the shoutpy sources:
>|
>| Why
>|
>| libraries.extend(("boost_python",))
>|
>| instead of just adding boost_python to libraries? I can't find any
>| documentation about libraries.extend in
>| http://www.python.org/doc/current/dist/dist.html. Where did you
>| learn about it?
>
> 'libraries' is just a python list, and list.extend() appends the
> elements of a sequence to that list. config.py is my way of putting
> the local configuration in an uncluttered place. I did it that way so
> it is easy to substitute a different name for "boost_python"; I do
> something similar in oggpy so that extensions share some configuration.

Oh, right. Sorry, it didn't register that you were using python
syntax. Sorry for my cluelessness. I'm fairly new to Python.

Thanks.                                                 Faheem.





More information about the Cplusplus-sig mailing list