From 924748035256075a7b323d623ba521a7a9cce873 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 11 Dec 2013 00:50:46 +0400 Subject: [PATCH] Version 2.0.1: add installation instruction in INSTALL.txt --- INSTALL.txt | 15 +++++++++++++++ README.txt | 2 ++ setup.py | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 INSTALL.txt diff --git a/INSTALL.txt b/INSTALL.txt new file mode 100644 index 0000000..5d05b64 --- /dev/null +++ b/INSTALL.txt @@ -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. diff --git a/README.txt b/README.txt index 9e54dc8..0a798dd 100644 --- a/README.txt +++ b/README.txt @@ -2,6 +2,8 @@ Broytman Library for Python, Copyright (C) 1996-2013 PhiloSoft Design Author: Oleg Broytman License: GPL +For installation instruction see INSTALL.txt. + Content of the library: defenc.py - get default encoding. diff --git a/setup.py b/setup.py index 41fec96..5d22450 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from distutils.core import setup setup(name = "m_lib", - version = "2.0", + version = "2.0.1", description = "Broytman Library for Python", long_description = "Broytman Library for Python, Copyright (C) 1996-2013 PhiloSoft Design", author = "Oleg Broytman", -- 2.39.5