From: <ds...@us...> - 2008-01-10 13:12:47
|
Revision: 4837 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4837&view=rev Author: dsdale Date: 2008-01-10 05:12:46 -0800 (Thu, 10 Jan 2008) Log Message: ----------- use setup.cfg to set parameters for windows installers Modified Paths: -------------- trunk/matplotlib/CHANGELOG trunk/matplotlib/setup.py Modified: trunk/matplotlib/CHANGELOG =================================================================== --- trunk/matplotlib/CHANGELOG 2008-01-10 13:01:38 UTC (rev 4836) +++ trunk/matplotlib/CHANGELOG 2008-01-10 13:12:46 UTC (rev 4837) @@ -1,3 +1,6 @@ +2008-01-10 Use setup.cfg to set the default parameters (tkagg, + numpy) when building windows installers - DSD + =============================================================== 2008-01-06 Released 0.91.2 at revision 4802 Modified: trunk/matplotlib/setup.py =================================================================== --- trunk/matplotlib/setup.py 2008-01-10 13:01:38 UTC (rev 4836) +++ trunk/matplotlib/setup.py 2008-01-10 13:12:46 UTC (rev 4837) @@ -236,12 +236,8 @@ print_line() # Write the default matplotlibrc file -if sys.platform=='win32': - rc['backend'] = 'TkAgg' - rc['numerix'] = 'numpy' -else: - if options['backend']: rc['backend'] = options['backend'] - if options['numerix']: rc['numerix'] = options['numerix'] +if options['backend']: rc['backend'] = options['backend'] +if options['numerix']: rc['numerix'] = options['numerix'] template = file('matplotlibrc.template').read() file('lib/matplotlib/mpl-data/matplotlibrc', 'w').write(template%rc) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |