auto-import python-matplotlib-0.87.7-1.fc6 on branch FC-6 from

python-matplotlib-0.87.7-1.fc6.src.rpm update to 0.87.7 now that numpy
    has been updated
This commit is contained in:
Jef Spaleta
2006-11-29 06:33:05 +00:00
parent b2e40b59ab
commit df4c379eaf
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: