@@ -196,35 +196,37 @@ def raise_on_wrong_settings( self ):
196196
197197config_t = gccxml_configuration_t #backward computability
198198
199+ gccxml_configuration_example = \
200+ """[gccxml]
201+ #path to gccxml executable file - optional, if not provided, os.environ['PATH']
202+ #variable is used to find it
203+ gccxml_path=
204+ #gccxml working directory - optional, could be set to your source code directory
205+ working_directory=
206+ #additional include directories, separated by ';' or ':'
207+ include_paths=
208+ #gccxml has a nice algorithms, which selects what C++ compiler to emulate.
209+ #You can explicitly set what compiler it should emulate.
210+ #Valid options are: g++, msvc6, msvc7, msvc71, msvc8, cl.
211+ compiler=
212+
213+ #GCC-XML site: http://gccxml.org/
214+ """
199215
200216def load_gccxml_configuration ( configuration , ** defaults ):
201217 """loads GCC-XML configuration from a file
202218
203219 Configuration file sceleton:
204220
205221 >>> start <<<
206-
207- [gccxml]
208- #path to gccxml executable file - optional, if not provided, os.environ['PATH']
209- #variable is used to find it
210- gccxml_path=
211- #gccxml working directory - optional, could be set to your source code directory
212- working_directory=
213- #additional include directories, separated by ';' or ':'
214- include_paths=
215- #gccxml has a nice algorithms, which selects what C++ compiler to emulate.
216- #You can explicitly set what compiler it should emulate.
217- #Valid options are: g++, msvc6, msvc7, msvc71, msvc8, cl.
218- compiler=
219-
220- #GCC-XML site: http://gccxml.org/
221-
222+
223+ %s
224+
222225 >>> end <<<
223226
224-
225227 configuration could be string( configuration file path ) or instance of
226228 ConfigParser.SafeConfigParser class
227- """
229+ """ % gccxml_configuration_example
228230 parser = configuration
229231 if isinstance ( configuration , types .StringTypes ):
230232 from ConfigParser import SafeConfigParser
0 commit comments