X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=INSTALL.txt;h=c077e350d0cf1ab13de80373705fc91d4eb33fa6;hb=79295a9c468490cd2168a552c563b79838b98643;hp=9a2ed5bbc92a00225433c677629db8ad4dd2ae5b;hpb=36cfe31759eb794433a1effb3489a3d4af3b722f;p=mimedecode.git diff --git a/INSTALL.txt b/INSTALL.txt index 9a2ed5b..c077e35 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -1,20 +1,23 @@ -mimedecode requires Python2; preferred versions are 2.6 or 2.7. +mimedecode requires Python2.7 or 3.4+. -Installation script setup.py requires setuptools. If you don't have it -installed setup.py will try to download and install it. +Installation script setup.py requires setuptools. -mimedecode requires m_lib library. If you don't have it installed -setup.py will try to download and install it after installing mimedecode. +mimedecode requires m_lib.defenc library. If you don't have it installed +setup.py will try to download and install it before installing mimedecode. Installation using pip: System-wide: - sudo pip install --find-links=http://phdru.name/Software/Python/ --no-index --install-option='-O2' mimedecode + sudo pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' mimedecode User mode: - pip install --find-links=http://phdru.name/Software/Python/ --no-index --install-option='-O2' --user mimedecode + pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' --user mimedecode + + Virtual envs: + + pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' mimedecode Installation from sources: @@ -28,6 +31,10 @@ Installation from sources: python setup.py install -O2 --user + Virtual envs: + + python setup.py install -O2 + Option '--user' installs library parts into $HOME/.local/lib/python2.$VERSION/site-packages/. It also installs mimedecode script into $HOME/.local/bin; add the directory to your $PATH