1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
#!/usr/bin/env python
from os import path
from distutils.core import setup
from pycallgraph import __version__
# Only install the man page if the correct directory exists
# XXX: Commented because easy_install doesn't like it
#man_path = '/usr/share/man/man1/'
#if path.exists(man_path):
# data_files=[['/usr/share/man/man1/', ['man/pycallgraph.1']]]
#else:
# data_files=None
data_files=None
setup(
name='pycallgraph',
version=__version__,
description='Python Call Graph uses GraphViz to generate call graphs ' \
'from one execution of your Python code.',
author='Gerald Kaszuba',
author_email='pycallgraph@slowchop.com',
url='http://pycallgraph.slowchop.com/',
py_modules=['pycallgraph'],
scripts=['scripts/pycallgraph'],
data_files=data_files,
long_description = \
'''Python Call Graph uses GraphViz to generate call graphs from one execution
of your Python code. It's very easy to use and can point out possible problems
with your code execution.''',
download_url =
'http://pycallgraph.slowchop.com/files/download/pycallgraph-%s.tar.gz' % \
__version__,
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Debuggers',
],
)
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:
|