Re: polygon dependency

Thomas Spura <tomspur-rxtnV0ftBwyoClj4AeEUq9i2O/[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Message-ID <20110321231121.506c9fa1@moon>
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

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.