From: Thomas S. <to...@fe...> - 2011-03-21 22:11:39
|
On Mon, 21 Mar 2011 15:46:53 -0600 Bruce Sherwood wrote: > My mistake, as I had intended that the recent releases in fact make > Polygon and ttfquery optional (in which case extrusion and text > objects are not available). The mistake is that the start of > vis/shapes.py should look like this: > > from math import pi, cos, sin, sqrt, tan, atan, acos > try: > from Polygon import Polygon > from Polygon.Shapes import Star > from ttfquery import describe, glyphquery, glyph > except: > pass > import vis > > import os, sys, glob > > (vis/primitives.py already checks for Polygon and ttfquery > availability and issues an appropriate warning.) > > The corrected shapes.py is now in CVS. Thanks a lot... Then the next version will be usable in fedora again. :) Thomas |