prepare for first release
This commit is contained in:
parent
30a17f88e2
commit
b15ede7861
@ -28,8 +28,11 @@ Should suffice with doing:
|
|||||||
|
|
||||||
Needless to say, no installation is needed just to use the module. A mere:
|
Needless to say, no installation is needed just to use the module. A mere:
|
||||||
|
|
||||||
import pydot
|
import pydot_ng
|
||||||
|
|
||||||
should do it, provided that the directory containing the modules is on Python
|
should do it, provided that the directory containing the modules is on Python
|
||||||
module search path.
|
module search path.
|
||||||
|
|
||||||
|
This library is API compatible with original pydot so you can use it like this:
|
||||||
|
|
||||||
|
import pydot_ng as pydot
|
||||||
|
@ -10,8 +10,6 @@ pydot Homepage: http://code.google.com/p/pydot/
|
|||||||
Graphviz: http://www.graphviz.org/
|
Graphviz: http://www.graphviz.org/
|
||||||
DOT Language: http://www.graphviz.org/doc/info/lang.html
|
DOT Language: http://www.graphviz.org/doc/info/lang.html
|
||||||
|
|
||||||
Programmed and tested with Graphviz 2.26.3 and Python 2.6 on OSX 10.6.4
|
|
||||||
|
|
||||||
Copyright (c) 2005-2011 Ero Carrera <ero.carrera@gmail.com>
|
Copyright (c) 2005-2011 Ero Carrera <ero.carrera@gmail.com>
|
||||||
|
|
||||||
Distributed under MIT license [http://opensource.org/licenses/mit-license.html].
|
Distributed under MIT license [http://opensource.org/licenses/mit-license.html].
|
||||||
@ -20,7 +18,6 @@ Distributed under MIT license [http://opensource.org/licenses/mit-license.html].
|
|||||||
from __future__ import division, print_function
|
from __future__ import division, print_function
|
||||||
|
|
||||||
__author__ = 'Ero Carrera'
|
__author__ = 'Ero Carrera'
|
||||||
__version__ = '1.0.29'
|
|
||||||
__license__ = 'MIT'
|
__license__ = 'MIT'
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
11
setup.py
11
setup.py
@ -1,15 +1,18 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
from codecs import open
|
||||||
|
import os
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
import pydot_ng
|
|
||||||
import os
|
|
||||||
|
|
||||||
os.environ['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
|
os.environ['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
|
||||||
os.environ['COPYFILE_DISABLE'] = 'true'
|
os.environ['COPYFILE_DISABLE'] = 'true'
|
||||||
|
|
||||||
|
with open('README.rst', 'r', 'utf-8') as f:
|
||||||
|
readme = f.read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='pydot_ng',
|
name='pydot_ng',
|
||||||
version=pydot_ng.__version__,
|
version='1.0.0',
|
||||||
description='Python interface to Graphviz\'s Dot',
|
description='Python interface to Graphviz\'s Dot',
|
||||||
author='Ero Carrera',
|
author='Ero Carrera',
|
||||||
author_email='ero@dkbza.org',
|
author_email='ero@dkbza.org',
|
||||||
@ -28,7 +31,7 @@ setup(
|
|||||||
'Topic :: Scientific/Engineering :: Visualization',
|
'Topic :: Scientific/Engineering :: Visualization',
|
||||||
'Topic :: Software Development :: Libraries :: Python Modules'
|
'Topic :: Software Development :: Libraries :: Python Modules'
|
||||||
],
|
],
|
||||||
long_description="\n".join(pydot_ng.__doc__.split('\n')),
|
long_description=readme,
|
||||||
packages=['pydot_ng'],
|
packages=['pydot_ng'],
|
||||||
package_dir={'pydot_ng': 'pydot_ng'},
|
package_dir={'pydot_ng': 'pydot_ng'},
|
||||||
install_requires=[
|
install_requires=[
|
||||||
|
Loading…
Reference in New Issue
Block a user