X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=INSTALL.txt;h=960f1581d443fcfb120241a43f6503a92c1811c6;hb=b0fa813d4e4de771dd4cbd606fe8dfbc2756c670;hp=381c00b192634074150d2b1cc62fa6d73786b468;hpb=1c8c6e7af530033a7cbdbd2451b20a729acfcb3f;p=mimedecode.git diff --git a/INSTALL.txt b/INSTALL.txt index 381c00b..960f158 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -1,28 +1,41 @@ -mimedecode requires Python2; preferred versions are 2.6 or 2.7. +mimedecode requires Python2.7 or 3.3+. -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. -To install the program from sources system-wide run run the following -command: +Installation using pip: - sudo python setup.py install -O2 + System-wide: -If you don't want to install it system-wide you can install it in your -home directory; run run the following command: + sudo pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ mimedecode - python setup.py install -O2 --user + User mode: -Option '--user' only available in Python 2.6 or 2.7. The command -installs library parts into $HOME/.local/lib/python2.$VERSION/site-packages/ -where python finds it. + pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --user mimedecode -It also installs mimedecode script into $HOME/.local/bin; add the -directory to your $PATH or move the script to a directory in your $PATH. + Virtual envs: -Installation using pip: + pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ mimedecode + +Installation from sources: + + To install the program from sources system-wide run run the following + command: + + sudo python setup.py install + + If you don't want to install it system-wide you can install it in your + home directory; run run the following command: + + python setup.py install --user + + Virtual envs: + + python setup.py install - [sudo] pip install --find-links=http://phdru.name/Software/Python/ --no-index --install-option='-O2' [--user] mimedecode +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 +or move the script to a directory in your $PATH.