From 584b2fb4b0a1968699f8d2dd4b0a2af67e7dca8c Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Tue, 28 May 2013 08:01:25 +0300 Subject: Delete unused bin directory Delete last bits of bin/. With the move to entrypoints these aren't needed anymore. Update CONF.bindir to default to os.path.join(sys.prefix, 'local', 'bin') Part of blueprint entrypoints-plugins Change-Id: I95250d3779433e7b85aaa889a873b16c86a7d2be --- nova/paths.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nova') diff --git a/nova/paths.py b/nova/paths.py index 8d84289ae..8d8a632c0 100644 --- a/nova/paths.py +++ b/nova/paths.py @@ -18,6 +18,7 @@ # under the License. import os +import sys from oslo.config import cfg @@ -27,7 +28,7 @@ path_opts = [ '../')), help='Directory where the nova python module is installed'), cfg.StrOpt('bindir', - default='$pybasedir/bin', + default=os.path.join(sys.prefix, 'local', 'bin'), help='Directory where nova binaries are installed'), cfg.StrOpt('state_path', default='$pybasedir', -- cgit