On Wed, Aug 14, 2013 at 11:40 PM, Merlijn van Deen <valhall...@arctus.nl>wrote:
> Hi Amir, > > On 14 August 2013 16:22, Amir Ladsgroup <ladsgr...@gmail.com> 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? > > They were from different kind of expertise from new to wikipedia to someone who ran bots in toolserver. The biggest issue was we couldn't get reach to user-cofnig.py (sometimes people try to install several clones). I really prefer the old school in this field. We can store user-config in the clone (core) folder instead of .pywikibot > 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. > > Nightly needs some fixations I don't Legoktm did it or not but we have to check it > 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]].'). > > Yeah. You're right > Best, > Merlijn > > _______________________________________________ > Pywikipedia-l mailing list > Pywikipedia-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l > > Best -- Amir
_______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l