Browse files

Update setup.py with the new README.rst contents.

  • Loading branch information...
1 parent 6225ae8 commit d1570e1793adcca75a0990f6d613928c880fcb9a @ericflo committed May 10, 2009
Showing with 5 additions and 5 deletions.
  1. +5 −5 setup.py
View
10 setup.py
@@ -22,7 +22,7 @@
-------------------------
While lxml is not a requirement, I have had a hard time installing lxml in the
-past. I have found this set of commands to work perfectly:
+past. I have found this set of commands to work perfectly::
STATIC_DEPS=true easy_install 'lxml>=2.2beta4'
STATIC_DEPS=true sudo easy_install 'lxml>=2.2beta4'
@@ -56,18 +56,18 @@
====================
If you're using a specific parser, like the ``ETreeNZBParser``, you will first
-have to instantiate it:
+have to instantiate it::
nzb_parser = ETreeNZBParser()
-Otherwise, you can just import the default parser for your system:
+Otherwise, you can just import the default parser for your system::
from pynzb import nzb_parser
Then, simply call the ``parse`` method, giving it the xml string as the only
-argument:
+argument::
files = nzb_parser.parse('<?xml ... my nzb file here ... </nzb>')
@@ -120,7 +120,7 @@
--------
In this example, we will grab an Ubuntu NZB and parse the file, printing out
-some information about each file and its segments.
+some information about each file and its segments::
from pynzb import nzb_parser
from urllib2 import urlopen

0 comments on commit d1570e1

Please sign in to comment.