This repository was archived by the owner on Nov 19, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,11 @@ Should suffice with doing:
28
28
29
29
Needless to say, no installation is needed just to use the module. A mere:
30
30
31
- import pydot
31
+ import pydot_ng
32
32
33
33
should do it, provided that the directory containing the modules is on Python
34
34
module search path.
35
35
36
+ This library is API compatible with original pydot so you can use it like this:
37
+
38
+ import pydot_ng as pydot
Original file line number Diff line number Diff line change 10
10
Graphviz: http://www.graphviz.org/
11
11
DOT Language: http://www.graphviz.org/doc/info/lang.html
12
12
13
- Programmed and tested with Graphviz 2.26.3 and Python 2.6 on OSX 10.6.4
14
-
15
13
Copyright (c) 2005-2011 Ero Carrera <ero.carrera@gmail.com>
16
14
17
15
Distributed under MIT license [http://opensource.org/licenses/mit-license.html].
20
18
from __future__ import division , print_function
21
19
22
20
__author__ = 'Ero Carrera'
23
- __version__ = '1.0.29'
24
21
__license__ = 'MIT'
25
22
26
23
import os
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
+ from codecs import open
3
+ import os
2
4
from setuptools import setup
3
5
4
- import pydot_ng
5
- import os
6
6
7
7
os .environ ['COPY_EXTENDED_ATTRIBUTES_DISABLE' ] = 'true'
8
8
os .environ ['COPYFILE_DISABLE' ] = 'true'
9
9
10
+ with open ('README.rst' , 'r' , 'utf-8' ) as f :
11
+ readme = f .read ()
12
+
10
13
setup (
11
14
name = 'pydot_ng' ,
12
- version = pydot_ng . __version__ ,
15
+ version = '1.0.0' ,
13
16
description = 'Python interface to Graphviz\' s Dot' ,
14
17
author = 'Ero Carrera' ,
15
18
author_email = 'ero@dkbza.org' ,
28
31
'Topic :: Scientific/Engineering :: Visualization' ,
29
32
'Topic :: Software Development :: Libraries :: Python Modules'
30
33
],
31
- long_description = " \n " . join ( pydot_ng . __doc__ . split ( ' \n ' )) ,
34
+ long_description = readme ,
32
35
packages = ['pydot_ng' ],
33
36
package_dir = {'pydot_ng' : 'pydot_ng' },
34
37
install_requires = [
You can’t perform that action at this time.
0 commit comments