diff options
author | Joe Gordon <joe.gordon0@gmail.com> | 2013-05-28 08:01:25 +0300 |
---|---|---|
committer | Joe Gordon <joe.gordon0@gmail.com> | 2013-06-03 11:15:33 -0700 |
commit | 584b2fb4b0a1968699f8d2dd4b0a2af67e7dca8c (patch) | |
tree | 6f26b777814ac5655a93df78f2d8a2a2b6165a1d /nova/paths.py | |
parent | 9ca2673bef0d6a883df673fb6531640c8f268a44 (diff) | |
download | nova-584b2fb4b0a1968699f8d2dd4b0a2af67e7dca8c.tar.gz nova-584b2fb4b0a1968699f8d2dd4b0a2af67e7dca8c.tar.xz nova-584b2fb4b0a1968699f8d2dd4b0a2af67e7dca8c.zip |
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
Diffstat (limited to 'nova/paths.py')
-rw-r--r-- | nova/paths.py | 3 |
1 files changed, 2 insertions, 1 deletions
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', |