From 985b2ad17fd2db82ff3890feed20182c727af9fd Mon Sep 17 00:00:00 2001 From: Dexter Fryar Date: Wed, 18 Feb 2015 20:56:33 -0600 Subject: [PATCH] Added development package and install instructions Change-Id: I89c2063f275a6f75d46fa524530e1fe1fff72a40 --- README.rst | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 327c8f8..e4c7b83 100644 --- a/README.rst +++ b/README.rst @@ -23,6 +23,18 @@ Alternative Manual Install Steps: - sudo pip install -r requirements.txt - python setup.py install +Building and Packaging +---------------------- +Install the tool dependencies + sudo apt-get install python-pip python-virtualenv + +In the python-monascaclient source directory + virtualenv --no-site-packages .venv + source ./.venv/bin/activate + pip install wheel + python setup.py bdist_wheel + pip install $(ls -1rt dist/*.whl | tail -1) --upgrade + Command-line API ---------------- Installing this distribution gets you a shell command, ``monasca``, that you @@ -37,7 +49,7 @@ Usage: monasca -j - This outputs the results in jason format. Normally output is in table format. + This outputs the results in json format. Normally output is in table format. The monascaclient CLI needs the Monasca API endpoint url and the OS_AUTH_TOKEN to pass to the