# DP: hotshot/pstats.py: Error out on missing profile/pstats modules. # DP: Add a note to the library documentation, that the profile and pstats # DP: modules can be found in the python2.x-profiler package. --- a/Doc/library/profile.rst +++ b/Doc/library/profile.rst @@ -4,6 +4,12 @@ The Python Profilers ******************** +Debian note: The license for the :mod:`profile` and :mod:`pstats` +modules doesn't conform to the Debian Free Software Guidelines (DFSG). +These modules can be found in the *python-profiler* package in the +*non-free* section of the Debian archives or in the the *multiverse* +section of the Ubuntu archives. + .. sectionauthor:: James Roskind .. module:: profile @@ -208,6 +214,12 @@ :synopsis: Python profiler +Debian note: The license for the :mod:`profile` and :mod:`pstats` +modules doesn't conform to the Debian Free Software Guidelines (DFSG). +These modules can be found in the *python-profiler* package in the +*non-free* section of the Debian archives or in the the *multiverse* +section of the Ubuntu archives. + The primary entry point for the profiler is the global function :func:`profile.run` (resp. :func:`cProfile.run`). It is typically used to create any profile information. The reports are formatted and printed using methods of