X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=INSTALL.txt;h=960f1581d443fcfb120241a43f6503a92c1811c6;hb=8d2e459bcceaea1530857ab58411e2e2426743a1;hp=2ee102eadc42ed6910acd0e4ef8421e49aa74897;hpb=ce0888f759cbc483c3d2a6cce221caa85c3d8206;p=mimedecode.git diff --git a/INSTALL.txt b/INSTALL.txt index 2ee102e..960f158 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -1,36 +1,39 @@ -mimedecode requires Python2.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. Installation using pip: System-wide: - sudo pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' mimedecode + sudo pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ mimedecode User mode: - pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' --user mimedecode + pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --user mimedecode Virtual envs: - pip install --trusted-host phdru.name --find-links=http://phdru.name/Software/Python/ --install-option='-O2' mimedecode + 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 -O2 + 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 -O2 --user + python setup.py install --user + + Virtual envs: + + python setup.py install Option '--user' installs library parts into $HOME/.local/lib/python2.$VERSION/site-packages/. It also installs