Browse code

Add setup script (Marius Gedminas, issue #19).

Jose.R.Fonseca authored on 09/08/2009 13:44:12
Showing 1 changed files

1 1
new file mode 100755
... ...
@@ -0,0 +1,28 @@
1
+#!/usr/bin/env python
2
+from setuptools import setup
3
+
4
+setup(
5
+    name='xdot',
6
+    version='0.4',
7
+    author='Jose Fonseca',
8
+    author_email='jose.r.fonseca@gmail.com',
9
+    url='http://code.google.com/p/jrfonseca/wiki/XDot',
10
+    description="Interactive viewer for Graphviz dot files",
11
+    long_description="""
12
+        xdot.py is an interactive viewer for graphs written in Graphviz's dot
13
+        language.
14
+
15
+        It uses internally the graphviz's xdot output format as an intermediate
16
+        format, and PyGTK and Cairo for rendering.
17
+
18
+        xdot.py can be used either as a standalone application from command
19
+        line, or as a library embedded in your python application.
20
+        """,
21
+    license="LGPL",
22
+
23
+    py_modules=['xdot'],
24
+    entry_points=dict(gui_scripts=['xdot=xdot:main']),
25
+
26
+    # This is true, but pointless, because easy_install PyGTK chokes and dies
27
+    #install_requires=['PyGTK', 'pycairo'],
28
+)