From d319372b5f10e5d7d8631123768cbb6a7612ff83 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 24 Apr 2017 00:48:40 +0300 Subject: [PATCH] Add installation instructions --- INSTALL.txt | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 INSTALL.txt diff --git a/INSTALL.txt b/INSTALL.txt new file mode 100644 index 0000000..4ce4c9e --- /dev/null +++ b/INSTALL.txt @@ -0,0 +1,36 @@ +m_lib.defenc requires Python 2.6, 2.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 using pip: + + System-wide: + + sudo pip install m_lib.defenc + + User mode: + + pip install --user m_lib.defenc + + Virtual environments: + + pip install user m_lib.defenc + + For Python 2.6 the command is easy_install. + +Installation from sources: + + To install the library 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 + +Option '--user' installs m_lib.defenc into +$HOME/.local/lib/python$MAJOR.$MINOR/site-packages/ where python finds it +automatically. -- 2.39.2