Revision: 5242 Author: nicdumz Date: 2008-04-20 11:38:33 +0000 (Sun, 20 Apr 2008)
Log Message: ----------- Some documentation, to save time to potential hands ;)
Modified Paths: -------------- branches/rewrite/pywikibot/README-conversion.txt
Modified: branches/rewrite/pywikibot/README-conversion.txt =================================================================== --- branches/rewrite/pywikibot/README-conversion.txt 2008-04-20 10:01:57 UTC (rev 5241) +++ branches/rewrite/pywikibot/README-conversion.txt 2008-04-20 11:38:33 UTC (rev 5242) @@ -11,6 +11,19 @@ example, wikipedia.Page can be replaced by pywikibot.Page throughout any bot.
+With pywikipedia scripts were importing "wikipedia" or "pagegenerators" +librairies; pywikibot is now written as a standard module. +(To use it, just import "pywikibot", assuming that pywikibot/ is in sys.path) + +== Python librairies == + +You will need, to run pywikibot, httplib2 and setuptools +* httplib2 : http://code.google.com/p/httplib2/ +* setuptools : http://pypi.python.org/pypi/setuptools/ + +If you run into errors involving httplib2.urlnorm, update httplib2 to +0.4.0 (Ubuntu package python-httlib2 for example, is outdated) + == Page objects ==
The constructor syntax for Pages has been modified; existing calls in the
pywikipedia-l@lists.wikimedia.org