Skip to content
Browse files

various fixes for 1.0 release

  • Loading branch information...
1 parent bc6d8a4 commit ee8583f23724d65e7b66c4485731deb86a8b87b1 @ogrisel ogrisel committed Nov 16, 2008
Showing with 7 additions and 6 deletions.
  1. +6 −4 README.txt
  2. +1 −1 setup.cfg
  3. +0 −1 setup.py
View
10 README.txt
@@ -51,7 +51,7 @@ Python shell usage
==================
`pyprof2calltree` is also best used from an interactive python shell such as
-the defaulft shell. For instance let use profile XML parsing::
+the defaulft shell. For instance let us profile XML parsing::
>>> from xml.etree import ElementTree
>>> from cProfile import Profile
@@ -73,11 +73,13 @@ or with the ipython_::
>>> from xml.etree import ElementTree
>>> xml_content = '<a>\n' + '\t<b/><c><d>text</d></c>\n' * 100 + '</a>'
- >>> %prun -D /tmp/out.stats ElementTree.fromstring(xml_content)
+ >>> %prun -D out.stats ElementTree.fromstring(xml_content)
+
+ *** Profile stats marshalled to file 'out.stats'
>>> from pyprof2calltree import convert, visualize
- >>> visualize('/tmp/out.stats')
- >>> convert('/tmp/out.stats', 'out.kgrind')
+ >>> visualize('out.stats')
+ >>> convert('out.stats', 'out.kgrind')
>>> results = %prun -r ElementTree.fromstring(xml_content)
>>> visualize(results)
View
2 setup.cfg
@@ -1,2 +1,2 @@
[egg_info]
-tag_build = dev
+#tag_build = dev
View
1 setup.py
@@ -14,7 +14,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

0 comments on commit ee8583f

Please sign in to comment.
Something went wrong with that request. Please try again.