]> git.phdru.name Git - m_lib.git/blobdiff - INSTALL.txt
Version 2.0.1: add installation instruction in INSTALL.txt
[m_lib.git] / INSTALL.txt
diff --git a/INSTALL.txt b/INSTALL.txt
new file mode 100644 (file)
index 0000000..5d05b64
--- /dev/null
@@ -0,0 +1,15 @@
+m_lib requires Python2; preferred versions are 2.6 or 2.7.
+
+To install the library from sources system-wide run run the following
+command:
+
+   sudo python setup.py install -O2
+
+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
+
+Option '--user' only available in Python 2.6 or 2.7. The command
+installs m_lib into $HOME/.local/lib/python2.$VERSION/site-packages/
+where python finds it.