# 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. # # 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 dependencies, others are optional requests>=2.20.1, < 2.28.0; python_version < '3.7' requests>=2.20.1; python_version >= '3.7' setuptools>=48.0.0 ; python_version >= '3.10' setuptools>=38.5.2 ; python_version >= '3.7' and python_version < '3.10' setuptools>=20.8.1, <59.7.0 ; python_version < '3.7' # MediaWiki markup parser # mwparserfromhell is default, wikitextparser can be used instead # mwparserfromhell is still required for commons_information.py and patrol.py # wikitextparser>=0.47.5 mwparserfromhell>=0.5.0 # 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: pydot >= 1.2 # cosmetic_changes python-stdnum >= 1.17 # GUI Pillow >= 8.1.1 # core pagegenerators google >= 1.7 sseclient >= 0.0.18,< 0.0.23 # The mysql generator in pagegenerators depends on PyMySQL # toolforge uses 0.9.3 PyMySQL >= 0.9.3 # core HTML comparison parser in diff module beautifulsoup4 # scripts/weblinkchecker.py memento_client==0.6.1