Professional Documents
Culture Documents
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
crontab
# scipts/replicate_wiki.py and scripts/editarticle.py
argparse ; python_version < '2.7'
# scripts/flickrripper.py
# On Python 2, flickrapi 1.4.x or 2.x may be used. Only 2.x works on Python 3.
# The following automatically selects 2.x on all Python versions, which depends
# on requests 2.x, which may cause pip to report an error like the following:
# pkg_resources.VersionConflict: (requests 1.2.3 (/usr/lib/python2.7/site-pack
ages), Requirement.parse('requests>=2.2.1'))
# If you see that on Python 2, change this to flickrapi==1.4.5
# On Python 3, force pip to install requests 2.2.1, or remove flickrapi below.
flickrapi>=1.4.5,<2 ; python_version < '2.7'
flickrapi ; python_version >= '2.7'
# incomplete core component botirc
irc ; python_version > '2.6'
# textlib.py and patrol.py
mwparserfromhell>=0.3.3 ; python_version <= '3.4'
# The mysql generator in pagegenerators depends on either oursql or MySQLdb
# pywikibot prefers oursql. Both are Python 2 only; T89976.
oursql ; python_version < '3'
#
#
#
#
tools/__init__.py
pywikibot prefers using the inbuilt bz2 module if python was compiled with
bz2 support. But if it wasn't, bz2file is used instead.
bz2file