-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
As I am known to be a fool (sometimes ;) I have to correct myself here:
import wikipedia import externals externals.check_setup('mwparserfromhell') # 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;externals.check_setup("mwparserfromhell");import mwparserfromhell'
Sorry for the inconvenience and enjoy! Greetings DrTrigon
On 11.07.2013 22:20, Dr. Trigon wrote:
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:
[1] https://github.com/earwig/mwparserfromhell/archive/develop.zip
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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
_______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l