2007-07-09 22:27:24 +00:00
|
|
|
#!/usr/bin/env python
|
2015-02-26 11:09:07 +01:00
|
|
|
from codecs import open
|
|
|
|
import os
|
2015-02-25 19:58:39 +01:00
|
|
|
from setuptools import setup
|
2007-07-09 22:27:24 +00:00
|
|
|
|
2010-11-01 23:24:32 +00:00
|
|
|
|
|
|
|
os.environ['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
|
|
|
|
os.environ['COPYFILE_DISABLE'] = 'true'
|
2007-07-09 22:27:24 +00:00
|
|
|
|
2015-02-26 11:09:07 +01:00
|
|
|
with open('README.rst', 'r', 'utf-8') as f:
|
|
|
|
readme = f.read()
|
|
|
|
|
2013-07-29 04:05:52 -07:00
|
|
|
setup(
|
2015-02-25 19:58:39 +01:00
|
|
|
name='pydot_ng',
|
2015-02-28 09:38:19 +01:00
|
|
|
version='1.0.1.dev0',
|
2013-07-29 04:05:52 -07:00
|
|
|
description='Python interface to Graphviz\'s Dot',
|
|
|
|
author='Ero Carrera',
|
|
|
|
author_email='ero@dkbza.org',
|
2015-02-25 19:58:39 +01:00
|
|
|
maintainer='Sebastian Kalinowski',
|
|
|
|
maintainer_email='sebastian@kalinowski.eu',
|
2013-07-29 04:05:52 -07:00
|
|
|
license='MIT',
|
|
|
|
keywords='graphviz dot graphs visualization',
|
|
|
|
platforms=['any'],
|
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 5 - Production/Stable',
|
Commiting pydot 1.0.2
-The parser has been improved a lot. It passes all of GraphViz's regression tests (which I consider quite an accomplishment seeing the kind of crazy constructs on those )
-Different charsets should now be dealt with properly.
-The search of GraphViz's executables has been improved for all platforms. On Windows, paths and registry keys are searched. On Unix now it should exhibit the same behavior as the traditional shell path search. (Thanks Andy Gimblett and many others)
-Double-quoted paths in Windows are nor properly handled. The os.path.exists() check fails if a valid path is enclosed within quotes.
-'type' keyword has been changed everywhere to 'graph_type'
-Better handling of Node/Edge/Graph defaults. Added methods: set_graph_defaults, set_node_defaults, set_edge_defaults, get_graph_defaults, get_node_defaults, get_edge_defaults
-Now it's possible to use rank to lay out nodes at the same level
graph = pydot.Dot('graphname', graph_type='digraph')
subg = pydot.Subgraph('', rank='same')
subg.add_node(pydot.Node('a'))
graph.add_subgraph(subg)
subg.add_node(pydot.Node('b'))
subg.add_node(pydot.Node('c'))
-Multiple main graphs in a file are now supported, will be returned as a list of graph instances
-Handling of shapefiles Dot().set_shape_files()
-Added method "add_style()" to the Node class to easily append styles to a node
-Attribute lists updated to reflect the available ones in graphviz 2.16
-Added error reporting when rendering graphs with GraphViz executables. There was an often reported problem where the output graphs would have 0 size. In most cases this was due to Graphviz missing a library for a format that pydot assumed to be there. Now the error given by the executable will be reported instead of being silently ignored (Thanks Jarno)
-Improved parsing of identifiers
-Added non-GraphViz attributes needed by dot2tex
-Jose Fonseca contributed a fix dealing with quoted strings the the dot parsing module
-setup.py updated so that it's possible to install pydot through Setuptools' easy_install
-Edge()'s can be created passing two Node objects as well as, the previously supported, two strings with node names. Warning: when passing two Node instances, the attributes won't be taken into account. The edge will only read the Nodes' names to create an edge, the Nodes must be separately added to the graph so all their attributes are "remembered".
-Substituted all str()'s for unicode()'s
-It's possible now to manually specify the path to GraphViz's executables in the case they can't be found automatically. The method 'set_graphviz_executables(paths)' will take a dictionary specifying the location of the executables. Please refer to the documentation for usage detailed information.
-And too many bugfixes to list...
git-svn-id: http://pydot.googlecode.com/svn/trunk@8 06aa9b79-7134-0410-ae7e-c1cd3e483e87
2008-02-14 22:31:48 +00:00
|
|
|
'Intended Audience :: Science/Research',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Natural Language :: English',
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'Topic :: Scientific/Engineering :: Visualization',
|
2013-07-29 04:05:52 -07:00
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules'
|
|
|
|
],
|
2015-02-26 11:09:07 +01:00
|
|
|
long_description=readme,
|
2015-02-25 19:58:39 +01:00
|
|
|
packages=['pydot_ng'],
|
|
|
|
package_dir={'pydot_ng': 'pydot_ng'},
|
|
|
|
install_requires=[
|
|
|
|
'pyparsing>=2.0.1',
|
|
|
|
],
|
2013-07-29 04:05:52 -07:00
|
|
|
)
|