From 6d2a44a868ca46cac8388aa66c9da4ff29574295 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 8 May 2014 14:06:01 -0400 Subject: [PATCH] Install scripts as well as library This installs the samples as utilities that can be invoked in the path. With this, some testing and exploration may be made easier. Change-Id: I5b7ae5b6e30eea3070dfbcb93d23802b8308d281 --- README | 4 ++-- solconnect.py => bin/pyghmicons | 0 ipmictl.py => bin/pyghmiutil | 0 setup.py | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) rename solconnect.py => bin/pyghmicons (100%) mode change 100644 => 100755 rename ipmictl.py => bin/pyghmiutil (100%) diff --git a/README b/README index 43df43c2..148e6622 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ This is a pure python implementation of IPMI protocol. -ipmictl.py is a sample application to roughly show the most simple approach to -invoking the library. +pyghmicons and pyghmiutil are example scripts to show how one may incorporate +this library into python code diff --git a/solconnect.py b/bin/pyghmicons old mode 100644 new mode 100755 similarity index 100% rename from solconnect.py rename to bin/pyghmicons diff --git a/ipmictl.py b/bin/pyghmiutil similarity index 100% rename from ipmictl.py rename to bin/pyghmiutil diff --git a/setup.py b/setup.py index 70c2b3f3..5dd0ab16 100755 --- a/setup.py +++ b/setup.py @@ -18,5 +18,6 @@ import setuptools setuptools.setup( + scripts=['bin/pyghmicons', 'bin/pyghmiutil'], setup_requires=['pbr'], pbr=True)