New versions of my python package Polygon have been released today for python 2 and python 3. The source can be checked out from https://svn.origo.ethz.ch/polygon/tags/2.0.4/ and https://svn.origo.ethz.ch/polygon/tags/3.0.4/ , binary packages will follow in the next days.
The changes include:
- added a function Utils.gpfInfo() to check files for the number of contours, holes and points and the hole flag
- updated the documentation about the handling of files with the optional hole flag
- fixed a bug in the function IO.writeSVG()
- 3.0.4: fixed a bug in the function IO.encodeBinary()
hi jörg,
sorry about the delay, and thanks for the reply. I had solved the problem by installing the older version at that time. now when I had to format my computer again, I faced the problem again and saw your reply. you’re right, the problem was with the python-dev package, when I installed that, the problem was solved.
thanks again for the package and for help,
-nizam.
Hi nizam,
without an error message it’s hard to tell the problem or even a solution. To compile an external python module on ubuntu at least the packages python-dev, libc6-dev and gcc must be installed. If this doesn’t help, please send the error messages.
Jörg
hi jörg,
I have been using your library for a project, but I am forced to use a pre-compiled version on ubuntu (and now that doesn’t work either). some more information on compiling the never versions on linux would be really helpful, ’cause I’m stumbling on a few million errors when I try. standard ubuntu distribution might be lacking a compiler or a package.
Nice work and I’m happy that this project is kept active.
Thanks a lot anyway.
Binary packages are now available at http://polygon.origo.ethz.ch/download .