Skip to content
This repository was archived by the owner on Nov 19, 2018. It is now read-only.

Commit b15ede7

Browse files
committed
prepare for first release
1 parent 30a17f8 commit b15ede7

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

README.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ Should suffice with doing:
2828

2929
Needless to say, no installation is needed just to use the module. A mere:
3030

31-
import pydot
31+
import pydot_ng
3232

3333
should do it, provided that the directory containing the modules is on Python
3434
module search path.
3535

36+
This library is API compatible with original pydot so you can use it like this:
37+
38+
import pydot_ng as pydot

pydot_ng/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
Graphviz: http://www.graphviz.org/
1111
DOT Language: http://www.graphviz.org/doc/info/lang.html
1212
13-
Programmed and tested with Graphviz 2.26.3 and Python 2.6 on OSX 10.6.4
14-
1513
Copyright (c) 2005-2011 Ero Carrera <ero.carrera@gmail.com>
1614
1715
Distributed under MIT license [http://opensource.org/licenses/mit-license.html].
@@ -20,7 +18,6 @@
2018
from __future__ import division, print_function
2119

2220
__author__ = 'Ero Carrera'
23-
__version__ = '1.0.29'
2421
__license__ = 'MIT'
2522

2623
import os

setup.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
#!/usr/bin/env python
2+
from codecs import open
3+
import os
24
from setuptools import setup
35

4-
import pydot_ng
5-
import os
66

77
os.environ['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
88
os.environ['COPYFILE_DISABLE'] = 'true'
99

10+
with open('README.rst', 'r', 'utf-8') as f:
11+
readme = f.read()
12+
1013
setup(
1114
name='pydot_ng',
12-
version=pydot_ng.__version__,
15+
version='1.0.0',
1316
description='Python interface to Graphviz\'s Dot',
1417
author='Ero Carrera',
1518
author_email='ero@dkbza.org',
@@ -28,7 +31,7 @@
2831
'Topic :: Scientific/Engineering :: Visualization',
2932
'Topic :: Software Development :: Libraries :: Python Modules'
3033
],
31-
long_description="\n".join(pydot_ng.__doc__.split('\n')),
34+
long_description=readme,
3235
packages=['pydot_ng'],
3336
package_dir={'pydot_ng': 'pydot_ng'},
3437
install_requires=[

0 commit comments

Comments
 (0)