Commits

Olivier Grisel  committed ad6efd8

doc and setup.py improvements

  • Participants
  • Parent commits e184367

Comments (0)

Files changed (2)

File pyprof2calltree.py

             self._entry(entry)
 
     def visualize(self):
-        """Launch kcachegrind on the converted entries"""
+        """Launch kcachegrind on the converted entries
+
+        kcachegrind must be present in the system path
+        """
 
         if self.out_file is None:
             _, outfile = tempfile.mkstemp(".log", "pyprof2calltree")
 import sys, os
 
 version = '1.0'
+classifiers = """\
+Development Status :: 5 - Production/Stable
+Environment :: Console
+Environment :: X11 Applications :: KDE
+License :: OSI Approved :: BSD License
+Operating System :: POSIX
+Operating System :: Unix
+Programming Language :: Python :: 2.5
+Programming Language :: Python :: 2.6
+Programming Language :: Python :: 2.7
+Topic :: Desktop Environment :: K Desktop Environment (KDE)
+Topic :: Software Development
+Topic :: Software Development :: Profilers
+Topic :: Software Development :: Quality Assurance
+Topic :: System :: System Shells
+Topic :: Utilities
+"""
 
 setup(
     name='pyprof2calltree',
     version=version,
-    description="Convert profiling data from cProfile to kcachegrind input format",
+    description="Help visualize profiling data from cProfile with kcachegrind",
     long_description=file('README.txt').read(),
-    classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
-    keywords='profiling visualization programming tool kde',
+    keywords='profiler visualization programming tool kde kcachegrind',
+    classifiers=[c for c in classifiers.split("\n") if c and c.strip()],
     author='Olivier Grisel',
     author_email='olivier.grisel@ensta.org',
     url='http://www.bitbucket.org/ogrisel/pyprof2calltree/src/',
     packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
     include_package_data=True,
     zip_safe=True,
-    install_requires=[
-        # -*- Extra requirements: -*-
-    ],
     entry_points = {
         'setuptools.installation': [
             'eggsecutable = pyprof2calltree:main',
         ],
-        'console_scripts':
-            ['pyprof2calltree = pyprof2calltree:main'],
-
+        'console_scripts': [
+            'pyprof2calltree = pyprof2calltree:main',
+        ],
     }
 )