From 8014721082c6798c1d2dce0d3af7742fb646c7e6 Mon Sep 17 00:00:00 2001 From: Joerg Raedler Date: Tue, 29 Jan 2013 16:21:52 +0100 Subject: [PATCH] prepared for version 3.0.6 --- HISTORY | 5 ++++- README | 17 ++++++++++++++++- doc/Polygon.pdf | 4 ++-- setup.py | 10 ++++++---- src/cPolygon.c | 4 ++-- 5 files changed, 30 insertions(+), 10 deletions(-) diff --git a/HISTORY b/HISTORY index 2823fe3..002860f 100644 --- a/HISTORY +++ b/HISTORY @@ -1,4 +1,7 @@ -00.00.00 +29.01.12 +- version 3.0.6 +- moved development from GitHub to bitbucket +- renamed package from Polygon to Polygon3 to avoid conflicts with Polygon2 - getting numpy include path automatically in setup.py - fixed https://github.com/jraedler/Polygon2/issues/2 - added Utils.reducePointsDP() using the Douglas-Peucker algorithm diff --git a/README b/README index 2750976..f623175 100644 --- a/README +++ b/README @@ -1 +1,16 @@ -Please look at Polygon.txt or Polygon.pdf in the folder doc. +Polygon is a python package that handles polygonal shapes in 2D. It contains +Python bindings for gpc, the excellent General Polygon Clipping Library by +Alan Murta and some extensions written in C and pure Python. With Polygon you +may handle complex polygonal shapes in Python in a very intuitive way. Polygons +are simple Python objects, clipping operations are bound to standard operators +like +, -, \|, & and ^. TriStrips can be constructed from Polygons with a +single statement. Functions to compute the area, center point, convex hull, +point containment and much more are included. This package was already used to +process shapes with more than one million points! + +Polygon3 works with Python 3.x, Polygon2 with Python 2.x. + +Homepage: http://www.j-raedler.de/projects/polygon/ +Development/Downloads: https://bitbucket.org/jraedler/polygon3 + +For more information please look at Polygon.[txt,pdf] in the folder doc. diff --git a/doc/Polygon.pdf b/doc/Polygon.pdf index 39d4f85..fdd437d 100644 --- a/doc/Polygon.pdf +++ b/doc/Polygon.pdf @@ -358,7 +358,7 @@ endobj % 'R24': class PDFInfo 24 0 obj << /Author () - /CreationDate (D:20121109121857-01'00') + /CreationDate (D:20130129161959-01'00') /Creator (\(unspecified\)) /Keywords () /Producer (ReportLab PDF Library - www.reportlab.com) @@ -7744,7 +7744,7 @@ xref trailer << /ID % ReportLab generated PDF document -- digest (http://www.reportlab.com) - [(|}'\021\027\236\2719\(V\365<\333\311\335\235) (|}'\021\027\236\2719\(V\365<\333\311\335\235)] + [(^y\0260\242|\0237\034S\\\011t>R}) (^y\0260\242|\0237\034S\\\011t>R})] /Info 24 0 R /Root 23 0 R diff --git a/setup.py b/setup.py index 1778cac..d904099 100755 --- a/setup.py +++ b/setup.py @@ -65,9 +65,9 @@ wish to use this software in commercial projects! args = { - 'name' : "Polygon", - 'version' : "3.0.5", - 'description' : "Polygon is a python package that handles polygonal shapes in 2D", + 'name' : "Polygon3", + 'version' : "3.0.6", + 'description' : "Polygon3 is a Python-3 package that handles polygonal shapes in 2D", 'long_description': longdesc, 'license' : "LGPL for Polygon, other for gpc", 'author' : "Joerg Raedler", @@ -75,7 +75,7 @@ args = { 'maintainer' : "Joerg Raedler", 'maintainer_email': "jr@j-raedler.de", 'url' : "http://www.j-raedler.de/projects/polygon", - 'download_url' : "https://github.com/jraedler/Polygon3/downloads", + 'download_url' : "https://bitbucket.org/jraedler/polygon3/downloads", 'classifiers' : ['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', @@ -85,6 +85,8 @@ args = { 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.0', 'Programming Language :: Python :: 3.1', + 'Programming Language :: Python :: 3.2', + 'Programming Language :: Python :: 3.3', 'Operating System :: POSIX :: Linux', 'Operating System :: Microsoft :: Windows', 'Operating System :: MacOS :: MacOS X', diff --git a/src/cPolygon.c b/src/cPolygon.c index f0785bf..874c346 100644 --- a/src/cPolygon.c +++ b/src/cPolygon.c @@ -11,7 +11,7 @@ #define POLY_AUTHOR \ "Author: Joerg Raedler, Berlin. joerg@j-raedler.de\n\ -Homepage: http://polygon.origo.ethz.ch/\n\n\ +Homepage: http://www.j-raedler.de/projects/polygon/\n\n\ Polygon is based on gpc, which was developed by Alan Murta, the gpc homepage\n\ is at: http://www.cs.man.ac.uk/~toby/alan/software/" @@ -76,7 +76,7 @@ Operations on polygons:\n\ #define INDEF INT_MAX #ifndef POLY_VERSION -#define POLY_VERSION "3.0.5" +#define POLY_VERSION "3.0.6" #endif #ifndef PyMODINIT_FUNC -- 2.1.1