forked from jrfonseca/xdot.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·61 lines (48 loc) · 1.86 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python3
#
# The purpose of this script is to enable uploading xdot.py to the Python
# Package Index, which can be easily done by doing:
#
# python setup.py register
# python setup.py sdist upload
#
# See also:
# - https://code.google.com/archive/p/jrfonseca/issues/19
# - http://docs.python.org/2/distutils/packageindex.html
#
from setuptools import setup
setup(
name='xdot',
version='0.8',
author='Jose Fonseca',
author_email='[email protected]',
url='https://github.com/jrfonseca/xdot.py',
description="Interactive viewer for Graphviz dot files",
long_description="""
xdot.py is an interactive viewer for graphs written in Graphviz's dot
language.
It uses internally the graphviz's xdot output format as an intermediate
format, and PyGTK and Cairo for rendering.
xdot.py can be used either as a standalone application from command
line, or as a library embedded in your python application.
""",
license="LGPL",
install_requires=['graphviz'],
packages=['xdot', 'xdot/dot', 'xdot/ui'],
entry_points=dict(gui_scripts=['xdot=xdot.__main__:main']),
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 6 - Mature',
'Environment :: X11 Applications :: GTK',
'Intended Audience :: Information Technology',
'Operating System :: OS Independent',
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Multimedia :: Graphics :: Viewers',
],
# This is true, but doesn't work realiably
#install_requires=['gi', 'gi-cairo'],
)