From: Oleg Broytman Date: Tue, 10 Dec 2013 20:50:46 +0000 (+0400) Subject: Version 2.0.1: add installation instruction in INSTALL.txt X-Git-Tag: 2.1.3~26 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=924748035256075a7b323d623ba521a7a9cce873;p=m_lib.git Version 2.0.1: add installation instruction in 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",