From df160772fc492fdd422a2a2f96638a731a1cdac9 Mon Sep 17 00:00:00 2001 From: Amjith Ramanujam Date: Sun, 30 Nov 2014 22:14:08 -0800 Subject: [PATCH] Add a section for linux install in Readme. --- README.rst | 26 ++++++++++++++++++++++++++ setup.py | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 754f63f0..8b676954 100644 --- a/README.rst +++ b/README.rst @@ -56,7 +56,33 @@ If pip is not installed check if easy_install is available on the system. Linux: ------ +Check if pip is already available in your system. +:: + + $ which pip + +If it does then install pgcli using the pip command as follows: + +:: + + $ sudo pip install pgcli + +If it doesn't exist, use your linux package manager to install `pip`. This might look something like: + +:: + + $ sudo apt-get install python-pip + + or + + $ sudo yum install python-pip + +Then you can install pgcli: + +:: + + $ sudo pip install pgcli Usage diff --git a/setup.py b/setup.py index b7a577e9..5ef10477 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setup( url='https://github.com/amjith/pgcli', packages=find_packages(), description=description, - long_description=open('Readme.rst').read(), + long_description=open('README.rst').read(), install_requires=[ 'Click', 'prompt_toolkit',