summaryrefslogtreecommitdiff
path: root/graphics/dot2tex/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dot2tex/setup.py')
-rw-r--r--graphics/dot2tex/setup.py50
1 files changed, 50 insertions, 0 deletions
diff --git a/graphics/dot2tex/setup.py b/graphics/dot2tex/setup.py
new file mode 100644
index 0000000000..56c048ffc4
--- /dev/null
+++ b/graphics/dot2tex/setup.py
@@ -0,0 +1,50 @@
+from distutils.core import setup
+
+setup(name='dot2tex',
+ version='2.7.0',
+ description = 'A Graphviz to LaTeX converter',
+ long_description="""\
+The purpose of dot2tex is to give graphs generated by the graph layout tool
+Graphviz_, a more LaTeX friendly look and feel. This is accomplished by:
+
+- Using native PSTricks_ and `PGF/TikZ`_ commands for drawing arrows,
+ edges and nodes.
+- Typesetting labels with LaTeX, allowing mathematical notation.
+- Using backend specific styles to customize the output.
+
+.. _Graphviz: http://www.graphviz.org/
+.. _PSTricks: http://tug.org/PSTricks/main.cgi/
+.. _PGF/TikZ: http://www.ctan.org/tex-archive/help/Catalogue/entries/pgf.html
+""",
+ author = 'Kjell Magne Fauske',
+ author_email = 'kjellmf@gmail.com',
+ url = "http://www.fauskes.net/code/dot2tex/",
+ download_url = "http://www.fauskes.net/code/dot2tex/download/",
+ py_modules = ['dot2tex.dot2tex'],
+ scripts=['dot2tex/dot2tex'],
+ classifiers = [
+ 'Development Status :: 4 - Beta',
+ 'Environment :: Console',
+ 'Intended Audience :: Science/Research',
+ 'License :: OSI Approved :: MIT License',
+ 'Natural Language :: English',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python',
+ 'Topic :: Scientific/Engineering :: Visualization',
+ 'Topic :: Text Processing :: Markup :: LaTeX',
+ 'Topic :: Utilities',
+ ],
+ install_requires = ['pyparsing','pydot'],
+ # easy_install does not manage to install pyparsing from pypi,
+ # so we have to provide the correct download link.
+ dependency_links = [
+ "http://sourceforge.net/project/showfiles.php?group_id=97203",
+ "http://code.google.com/p/pydot/downloads/list"
+ ],
+ entry_points = {
+ 'console_scripts': [
+ 'dot2tex = dot2tex.dot2tex:main',
+ ]
+
+ }
+) \ No newline at end of file