40 lines
1.2 KiB
Python
40 lines
1.2 KiB
Python
#!/usr/bin/env python
|
|
|
|
try:
|
|
from distutils.core import setup
|
|
except ImportError:
|
|
from setuptools import setup
|
|
|
|
import pydot
|
|
import os
|
|
|
|
os.environ['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
|
|
os.environ['COPYFILE_DISABLE'] = 'true'
|
|
|
|
setup(
|
|
name='pydot',
|
|
version=pydot.__version__,
|
|
description='Python interface to Graphviz\'s Dot',
|
|
author='Ero Carrera',
|
|
author_email='ero@dkbza.org',
|
|
url='http://code.google.com/p/pydot/',
|
|
download_url='http://pydot.googlecode.com/files/pydot-%s.tar.gz' % pydot.__version__,
|
|
license='MIT',
|
|
keywords='graphviz dot graphs visualization',
|
|
platforms=['any'],
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Intended Audience :: Science/Research',
|
|
'License :: OSI Approved :: MIT License',
|
|
'Natural Language :: English',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python',
|
|
'Topic :: Scientific/Engineering :: Visualization',
|
|
'Topic :: Software Development :: Libraries :: Python Modules'
|
|
],
|
|
long_description="\n".join(pydot.__doc__.split('\n')),
|
|
packages=['pydot'],
|
|
package_dir={'pydot': 'pydot'},
|
|
requires=['pyparsing (>=2.0.1)'],
|
|
)
|