-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yes of course! Makes a lot more sense to use a fixed stable revision.
I implemented this in trunk in r11744 [1]. The version used is v0.2.zip.
[1]
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11744
Now the following works:
>> import wikipedia import externals
(here
you will get asked whether you want to download
'mwparserfromhell' once)
>> import mwparserfromhell
it can be easily tested with:
python -c 'import wikipedia;import externals;import mwparserfromhell'
Greetings and all the best!
DrTrigon
On 10.07.2013 22:42, Ben Kurtovic wrote:
At this stage, it might be best to use stable releases [1] instead
of the development version, so you'd want [2] (or [3], which will
always point to the latest version).
Also, as a note, the parser only supports Python 2.7 and 3, not
Python 2.6. Is it worth extending compatibility to 2.6?
[1]
https://github.com/earwig/mwparserfromhell/releases [2]
https://github.com/earwig/mwparserfromhell/archive/v0.2.zip [2]
https://github.com/earwig/mwparserfromhell/archive/master.zip
Earwig
_______________________________________________ Pywikipedia-l
mailing list Pywikipedia-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
iEYEARECAAYFAlHfE5gACgkQAXWvBxzBrDAm+wCg4J2lueNLUXtXwDbs+q2iwmi8
RHEAn3yKJzCo2mthQseObyY1pC6yUXm2
=ieds
-----END PGP SIGNATURE-----