]> git.phdru.name Git - m_lib.defenc.git/commitdiff
Add installation instructions
authorOleg Broytman <phd@phdru.name>
Sun, 23 Apr 2017 21:48:40 +0000 (00:48 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 26 Apr 2017 17:05:05 +0000 (20:05 +0300)
INSTALL.txt [new file with mode: 0644]

diff --git a/INSTALL.txt b/INSTALL.txt
new file mode 100644 (file)
index 0000000..4ce4c9e
--- /dev/null
@@ -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.