Page MenuHomeDevCentral

Install and configure pywikibot
ClosedPublic

Authored by dereckson on Nov 15 2017, 22:29.
Tags
None
Referenced Files
F33251577: D1218.diff
Tue, Jun 16, 04:28
F33248134: D1218.id3133.diff
Tue, Jun 16, 03:38
F33218168: D1218.id3131.diff
Mon, Jun 15, 22:11
F33198518: D1218.id3132.diff
Mon, Jun 15, 18:03
F33189393: D1218.diff
Mon, Jun 15, 16:44
Unknown Object (File)
Sun, Jun 14, 05:00
Unknown Object (File)
Sat, Jun 13, 13:06
Unknown Object (File)
Sat, Jun 13, 12:03
Subscribers
None

Details

Summary

This is a follow-up for 1e344c0b.

Install the downloaded pywikibot as a package through setup.py,
so every Python 3 script can do an import pywikibot.

Provide configuration for DæghrefnBot.

Ref T1309

Test Plan

Run create_givenname or create_surname

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Drop use_api_login.

Documented on wiki but the following message is raised at runtime:

/usr/local/lib/python3.6/site-packages/pywikibot-3.0.20171114-py3.6.egg/pywikibot/config2.py:1070: UserWarning: Configuration variable use_api_login is defined but unknown. Misspelled?
  'Misspelled?'.format(name), UserWarning)

user-config.py doesn't contain sensible data

This revision is now accepted and ready to land.Nov 15 2017, 23:07
This revision was automatically updated to reflect the committed changes.