Hi Amir, On 14 August 2013 16:22, Amir Ladsgroup <[email protected]> wrote:
> As you probably know We had a workshop > http://wikimania2013.wikimedia.org/wiki/DevCamp/Schedule on Wikimania's > DevCamp about using PWB for people who are interested. > Cool! > but It was a very big problem that installation of PWB is not > user-friendly (and It's worse when people try to install rewrite instead of > trunk) The main cause as far as we faced during the workshop (on different > computers) is dependencies. > This surprises me, as this was not an issue during the Amsterdam hackathon - and we used rewrite! However, we used a nightly instead of git, which might explain at least part of the difference. What was the audience (how experienced with wikipedia as writer / AWB / ..., running windows or linux, etc), and how did they install and configure pwb? Maarten (multichill) has suggested we change setup.py and > generate_user_config.py and make a auto-generated list of needed > dependencies (based on OS or other things) and ask user when he/she wants > to install that which one you need! and install it right away. another > suggestion (my idea) is an example: > This is certainly an option. Maybe Dr.Trigon can suggest something in this direction - the current method of downloading dependencies/externals when needed is reasonable, I think. Alternatively, I'd like to suggest nightlies as main distribution method. At least the core nightly is completely self-contained: it has translations *and* httplib2 (the only required external library). For most people, that would be the easiest way of installing pywikibot. When someone doesn't install i18n submodule. Codes breaks (error that says > "import i18n, there is no module named "i18n"" or something like that) but > we have to catch this error and ask a question and ask do you want to > install i18n submodule? and maybe a user doesn't want to install it (just > wants to run it in English WP) We have to let the user run the code. > It's impossible to run a bot without i18n submodule, because *all* translations are in the translation file, also the English version! The code only knows the key (e.g. 'commons-file-moved', not '[[:File:%(localfile)s|File]] moved to [[:commons:File:%(commonsfile)s|commons]].'). Best, Merlijn
_______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
