- Update to 0.87.7 and fix up the defaults to use numpy

- Force build of tkagg backend without X server
- Use src.rpm from Jef Spaleta, closes bug 216578
This commit is contained in:
Orion Poplawski
2006-11-21 15:36:32 +00:00
parent e197124cb4
commit 4172d14025
5 changed files with 35 additions and 6 deletions
+22
View File
@@ -0,0 +1,22 @@
--- matplotlib-0.87.7/setup.py.fix 2006-11-20 19:49:56.000000000 -0900
+++ matplotlib-0.87.7/setup.py 2006-11-20 19:51:03.000000000 -0900
@@ -251,16 +251,9 @@
print 'Tkinter present but import failed'
BUILD_TKAGG = 0
else:
- try:
- tk = Tkinter.Tk()
- tk.withdraw()
- except Tkinter.TclError:
- print 'Tkinter present, but window failed to open'
- BUILD_TKAGG = 0
- else:
- BUILD_AGG = 1
- build_tkagg(ext_modules, packages, NUMERIX)
- rc['backend'] = 'TkAgg'
+ BUILD_AGG = 1
+ build_tkagg(ext_modules, packages, NUMERIX)
+ rc['backend'] = 'TkAgg'
if BUILD_WXAGG:
try: