X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=INSTALL.txt;h=381c00b192634074150d2b1cc62fa6d73786b468;hb=7a38d75247b7d441f915a00abf2be4999263c57b;hp=d3cd7430a3fec1a40dcc20a5718e783d1400869a;hpb=8efe50e092721903ac4cc44a123db04d9bb329dc;p=mimedecode.git diff --git a/INSTALL.txt b/INSTALL.txt index d3cd743..381c00b 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -1,11 +1,11 @@ mimedecode requires Python2; preferred versions are 2.6 or 2.7. -mimedecode requires m_lib library. - -First install m_lib. Installation script setup.py requires setuptools. If you don't have it installed setup.py will try to download and install it. +mimedecode requires m_lib library. If you don't have it installed +setup.py will try to download and install it after installing mimedecode. + To install the program from sources system-wide run run the following command: @@ -17,7 +17,12 @@ home directory; run run the following command: python setup.py install -O2 --user Option '--user' only available in Python 2.6 or 2.7. The command -installs mimedecode into $HOME/.local/bin; add the directory to your -$PATH. +installs library parts into $HOME/.local/lib/python2.$VERSION/site-packages/ +where python finds it. + +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. + +Installation using pip: -Or you can simple drop mimedecode.py somewhere in your $PATH. + [sudo] pip install --find-links=http://phdru.name/Software/Python/ --no-index --install-option='-O2' [--user] mimedecode