From: Thomas S. <to...@fe...> - 2011-03-22 00:18:56
|
On Mon, 21 Mar 2011 23:44:09 +0000 Peter Borcherds wrote: > when visualpython-users are sending a message relevant only to a > subject specific subgroup such as fedora, it would save the rest of > us time if this were to be shown clearly in the message subject > > Peter > P H Borcherds > ________________________________ > From: Thomas Spura [to...@fe...] > Sent: 21 March 2011 22:11 > To: Bru...@nc... > Cc: vis...@li... > Subject: Re: [Visualpython-users] polygon dependency > > 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 The polygon dependency is nasty on all free (as in freedom) operation systems. A subject like "freeos: polygon dependency" doesn't make any sense. Thomas |