[Scons-users] Reading SCons.Variables from file

Pawel Tomulik ptomulik at meil.pw.edu.pl
Tue Nov 13 18:29:43 EST 2012


Hi,

The API documentation for SCons.Variables.Variables.__init__()

http://www.scons.org/doc/latest/HTML/scons-api/SCons.Variables.Variables-class.html#__init__

states what follows:

files - [optional] List of option configuration files to load
(backward compatibility) If a single string is passed it is
automatically placed in a file list

Does the "backward compatibility" mean that there is another
better way to read variables from file, another/better way to
specify the filename(s), the function accepts a list only for
backward compatibility reasons or what can it mean at all?

Any ideas?

BTW. Are there other "SCons-native" ways to load/save selected
construction (env) variables from/to file to make them persistent
between runs?

With best regards,

--
Paweł Tomulik



More information about the Scons-users mailing list