Changeset 74
- Timestamp:
- 07/07/08 06:46:47 (7 weeks ago)
- Files:
-
- 1 modified
-
trunk/setup.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/setup.py
r73 r74 1 1 #!/usr/bin/env python 2 2 3 from os import path 3 4 from distutils.core import setup 4 5 5 6 from pycallgraph import __version__ 7 8 # Only install the man page if the correct directory exists 9 man_path = '/usr/share/man/man1/' 10 if path.exists(man_path): 11 data_files=[['/usr/share/man/man1/', ['man/pycg.1']]] 12 else: 13 data_files=None 6 14 7 15 setup( … … 11 19 'from one execution of your Python code.', 12 20 author='Gerald Kaszuba', 13 author_email='pyc allgraph@gakman.com',21 author_email='pycg@slowchop.com', 14 22 url='http://pycallgraph.slowchop.com/', 15 23 py_modules=['pycallgraph'], 16 scripts=['scripts/pycg', ], 24 scripts=['scripts/pycg'], 25 data_files=data_files, 17 26 long_description = \ 18 27 '''Python Call Graph uses GraphViz to generate call graphs from one execution