On Tue, Dec 23, 2008 at 11:48 PM, Balaji S. Srinivasan <bala...@stanford.edu> wrote:
> I figured out that this was due to an extra comma in setupext.py. > Edit line 1347 to remove the extra comma, changing this: > > module = Extension( > > 'matplotlib.backends._backend_gdk', > ['src/backend_gdk.c', ], #<---- HERE IS THE BAD EXTRA COMMA > libraries = [], > include_dirs=numpy_inc_dirs, > ) > > to this: > > module = Extension( > > 'matplotlib.backends._backend_gdk', > ['src/backend_gdk.c' ], > libraries = [], > include_dirs=numpy_inc_dirs, > ) > > Then This doesn't make any sense, because the two lists are identical:: In [127]: x = ['src/backend_gdk.c', ] In [128]: len(x) Out[128]: 1 In [129]: x Out[129]: ['src/backend_gdk.c'] In [130]: y = ['src/backend_gdk.c'] In [131]: len(y) Out[131]: 1 In [132]: y Out[132]: ['src/backend_gdk.c'] In [133]: x==y Out[133]: True ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users