Supybot: python -m pip instead of pip

TODO: `pandoc -i Supybot.html.md -o Supybot.html`
This commit is contained in:
Mikaela Suomalainen 2014-10-06 12:09:02 +03:00
parent 0e4636603b
commit e945de28ab

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="description" content="Security issues in the latest released version of stock Supybot, how to avoid them without switching to a fork and how to switch to forks." />
<meta name="keywords" content="Security,Issues,Supybot,crash,Debian,Ubuntu,IRC,Python,Python 2,Python 3,pip," />
<meta name="keywords" content="Security,Issues,Supybot,crash,Debian,Ubuntu,IRC,Python,Python 2,Python 3,python -m pip," />
<meta name="author" content="Mikaela Suomalainen" />
<link rel="canonical" href="https://mkaysi.github.io/limnoria/Supybot.html">
<title>Security issues of Supybot</title>
@ -149,12 +149,12 @@ Your current botname.conf is **100% compatible with forks**.
### For all of them.
You should install [pip] (usually python-pip in repositories) and [git].
You should install [python -m pip] (usually python-python -m pip in repositories) and [git].
Windows users should also install [pip] and [msysgit] and in [msysgit]
Windows users should also install [python -m pip] and [msysgit] and in [msysgit]
select to run **unix tools in PATH**.
Note: pip is included with Python =< 3.4! Python 3 is only supported by
Note: python -m pip is included with Python =< 3.4! Python 3 is only supported by
Limnoria.
For **rootless installation**, please see
@ -165,7 +165,7 @@ If you don't have sudo, please simply remove it from beginnings of lines
and run the commands as root or Administrator.
[git]:http://git-scm.com/
[pip]:http://pip.readthedocs.org/en/latest/reference/pip_install.html
[python -m pip]:http://python -m pip.readthedocs.org/en/latest/reference/python -m pip_install.html
[msysgit]:https://msysgit.github.io/
### Supybot
@ -173,7 +173,7 @@ and run the commands as root or Administrator.
**Not recommended as it's not actively developed.**
```
sudo pip install git+https://github.com/supybot/supybot.git --upgrade
sudo python -m pip install git+https://github.com/supybot/supybot.git --upgrade
```
### gribble
@ -181,7 +181,7 @@ sudo pip install git+https://github.com/supybot/supybot.git --upgrade
Less actively developed than Limnoria and doesn't support Python 3.
```
sudo pip install git+https://github.com/nanotube/supybot_fixes.git --upgrade
sudo python -m pip install git+https://github.com/nanotube/supybot_fixes.git --upgrade
```
### Limnoria
@ -194,8 +194,8 @@ The first command installs requirements of Limnoria and the second
Limnoria itself. Only Limnoria has requirements.txt file at the moment.
```
sudo pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/master/requirements.txt --upgrade
sudo pip install git+https://github.com/ProgVal/Limnoria.git@master --upgrade
sudo python -m pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/master/requirements.txt --upgrade
sudo python -m pip install git+https://github.com/ProgVal/Limnoria.git@master --upgrade
```
<hr/>