@@ -198,7 +198,8 @@ def raise_on_wrong_settings( self ):
198198config_t = gccxml_configuration_t #backward computability
199199
200200gccxml_configuration_example = \
201- """[gccxml]
201+ """
202+ [gccxml]
202203#path to gccxml executable file - optional, if not provided, os.environ['PATH']
203204#variable is used to find it
204205gccxml_path=
@@ -210,24 +211,34 @@ def raise_on_wrong_settings( self ):
210211#You can explicitly set what compiler it should emulate.
211212#Valid options are: g++, msvc6, msvc7, msvc71, msvc8, cl.
212213compiler=
213-
214- #GCC-XML site: http://gccxml.org/
215214"""
216215
217216def load_gccxml_configuration ( configuration , ** defaults ):
218- """loads GCC-XML configuration from a file
217+ """
218+ loads GCC-XML configuration from an `.ini` file or any other file class
219+ :class:`ConfigParser.SafeConfigParser` is able to parse.
219220
220- Configuration file sceleton:
221+ :param configuration: configuration could be string( configuration file path )
222+ or instance of :class:`ConfigParser.SafeConfigParser` class
221223
222- >>> start <<<
224+ :rtype: :class:`.gccxml_configuration_t`
223225
224- %s
226+ Configuration file sceleton::
225227
226- >>> end <<<
228+ [gccxml]
229+ #path to gccxml executable file - optional, if not provided, os.environ['PATH']
230+ #variable is used to find it
231+ gccxml_path=
232+ #gccxml working directory - optional, could be set to your source code directory
233+ working_directory=
234+ #additional include directories, separated by ';' or ':'
235+ include_paths=
236+ #gccxml has a nice algorithms, which selects what C++ compiler to emulate.
237+ #You can explicitly set what compiler it should emulate.
238+ #Valid options are: g++, msvc6, msvc7, msvc71, msvc8, cl.
239+ compiler=
227240
228- configuration could be string( configuration file path ) or instance of
229- ConfigParser.SafeConfigParser class
230- """ % gccxml_configuration_example
241+ """
231242 parser = configuration
232243 if isinstance ( configuration , types .StringTypes ):
233244 from ConfigParser import SafeConfigParser
0 commit comments