Moved long description in setup.py

This commit is contained in:
Arjan Molenaar 2009-04-24 12:14:46 +00:00
parent 763e0587df
commit 40d102c003
2 changed files with 24 additions and 23 deletions

View File

@ -542,7 +542,7 @@ def intersect_line_line(line1_start, line1_end, line2_start, line2_end):
num = a2 * c1 - a1 * c2
y = ( (num < 0) and (num - offset) or (num + offset) ) / denom
return x, y;
return x, y
def rectangle_contains(inner, outer):

View File

@ -1,3 +1,25 @@
"""\
Gaphas is a MVC canvas that uses Cairo_ for rendering. One of the nicer things
of this widget is that the user (model) is not bothered with bounding box
calculations: this is all done through Cairo.
Some more features:
- Each item has it's own separate coordinate space (easy when items are
rotated).
- Items on the canvas can be connected to each other. Connections are
maintained by a linear constraint solver.
- Multiple views on one Canvas.
- What is drawn is determined by Painters. Multiple painters can be used and
painters can be chained.
- User interaction is handled by Tools. Tools can be chained.
- Versatile undo/redo system
GTK+ and PyGTK_ are required.
.. _Cairo: http://cairographics.org/
.. _PyGTK: http://www.pygtk.org/
"""
VERSION = '0.4.0'
@ -41,28 +63,7 @@ setup(
name='gaphas',
version=VERSION,
description='Gaphas is a GTK+ based diagramming widget',
long_description="""\
Gaphas is a MVC canvas that uses Cairo_ for rendering. One of the nicer things
of this widget is that the user (model) is not bothered with bounding box
calculations: this is all done through Cairo.
Some more features:
- Each item has it's own separate coordinate space (easy when items are
rotated).
- Items on the canvas can be connected to each other. Connections are
maintained by a linear constraint solver.
- Multiple views on one Canvas.
- What is drawn is determined by Painters. Multiple painters can be used and
painters can be chained.
- User interaction is handled by Tools. Tools can be chained.
- Versatile undo/redo system
GTK+ and PyGTK_ are required.
.. _Cairo: http://cairographics.org/
.. _PyGTK: http://www.pygtk.org/
""",
long_description=__doc__,
classifiers=[
'Development Status :: 4 - Beta',