forked from wikimedia/pywikibot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
requirements.txt
109 lines (87 loc) · 3.72 KB
/
requirements.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# This is a PIP 6+ requirements file for using Pywikibot and scripts
#
# All dependencies can be installed using:
# $ sudo pip install -r requirements.txt
#
# It is organised so that simple requirements
# are processed first, and more difficult packages
# are last.
# All dependencies other than requests are optional.
#
# It is good practise to install packages using the system
# package manager if it has a packaged version. If you are
# unsure, please use pip as described at the top of the file.
#
# To get a list of potential matches, use
#
# $ awk -F '[#>=]' '{print $1}' requirements.txt | xargs yum search
# or
# $ awk -F '[#>=]' '{print $1}' requirements.txt | xargs apt-cache search
# mandatory; see README.conversion.txt
requests>=2.4.1,!=2.18.2
# requests security extra
cryptography>=1.3.4 ; python_version != '2.6' and python_full_version < '2.7.9'
cryptography>=1.3.4,<2.0 ; python_version == '3.3'
cryptography>=1.3.4,<=2.0.3 ; python_version == '2.6' and platform_system == 'Windows'
cryptography>=1.3.4,<2.2 ; python_version == '2.6' and platform_system != 'Windows'
pyOpenSSL>=0.14,!=17.2.0 ; python_full_version < '2.7.9' and python_version != '2.6'
PyOpenSSL<17.5.0 ; python_version == '3.3' or python_version == '2.6'
idna>=2.0.0 ; python_full_version < '2.7.9'
# https://github.com/eliben/pycparser/issues/147
pycparser != 2.14
future>=0.15.0 ; python_full_version < '2.7.3'
ipaddr>=2.1.10 ; python_version < '3'
unicodedata2>=7.0.0-2 ; python_version < '3'
# OAuth support
# mwoauth 0.2.4 is needed because it supports getting identity information
# about the user
mwoauth>=0.2.4,!=0.3.1
# core interwiki_graph.py:
git+https://github.com/nlhepler/pydot#egg=pydot-1.0.29
# wikistats.py and scripts
unicodecsv!=0.14.0 ; python_version < '2.7'
unicodecsv ; python_version < '3' and python_version >= '2.7'
# cosmetic_changes and scripts/isbn
python-stdnum
# GUI
Pillow<4.0.0 ; python_version == '2.6'
Pillow>=2.0.0,<5.0.0 ; python_version == '3.3'
Pillow ; python_version == '2.7' or python_version >= '3.4'
# core pagegenerators
google >= 1.7
sseclient
# scripts/script_wui.py:
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-packages), 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<2.3.1 ; python_version == '3.3'
flickrapi ; python_version >= '2.7' and python_version != '3.3'
# incomplete core component botirc
irc ; python_version > '2.6'
# textlib.py and patrol.py
mwparserfromhell>=0.3.3
# The mysql generator in pagegenerators depends on either oursql or MySQLdb
# pywikibot prefers oursql. Both are Python 2 only; T89976.
oursql ; python_version < '3'
# scripts/script_wui.py depends on Lua, which is not available using pip
# but can be obtained from: https://github.com/bastibe/lunatic-python
# However, a better fork is: https://github.com/AlereDevices/lunatic-python
# Also script_wui.py is not currently functional, so it isnt installed here.
# core HTML comparison parser in diff module
beautifulsoup4
# scripts/states_redirect.py
pycountry
# scripts/weblinkchecker.py
memento_client>=0.5.1,!=0.6.0
# 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