Change packaging references to python-saharaclient
Now that the git repo has been renamed, all references to the project in the packaging code have been changed to 'saharaclient'. It will now install as python-saharaclient but still retains /usr/bin/savanna and site-packages/savannaclient for legacy code support. Partial-implements: blueprint savanna-renaming-client Change-Id: Ib1d3022dffb2fa7319dd51ecad6c6d7072915472
This commit is contained in:
parent
6b014ee365
commit
7629f59518
|
@ -4,7 +4,7 @@ set -eu
|
|||
|
||||
function usage {
|
||||
echo "Usage: $0 [OPTION]..."
|
||||
echo "Run python-savannaclient test suite"
|
||||
echo "Run python-saharaclient test suite"
|
||||
echo ""
|
||||
echo " -V, --virtual-env Always use virtualenv. Install automatically if not present"
|
||||
echo " -N, --no-virtual-env Don't use virtualenv. Run tests in local environment"
|
||||
|
|
|
@ -435,7 +435,7 @@ class OpenStackSavannaShell(object):
|
|||
|
||||
def _discover_via_python_path(self):
|
||||
for (module_loader, name, _ispkg) in pkgutil.iter_modules():
|
||||
if name.endswith('_python_savannaclient_ext'):
|
||||
if name.endswith('_python_saharaclient_ext'):
|
||||
if not hasattr(module_loader, 'load_module'):
|
||||
# Python 2.6 compat: actually get an ImpImporter obj
|
||||
module_loader = module_loader.find_module(name)
|
||||
|
|
|
@ -15,4 +15,4 @@
|
|||
|
||||
from pbr import version
|
||||
|
||||
version_info = version.VersionInfo('python-savannaclient')
|
||||
version_info = version.VersionInfo('python-saharaclient')
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
[metadata]
|
||||
name = python-savannaclient
|
||||
name = python-saharaclient
|
||||
summary = Client library for Sahara API
|
||||
description-file =
|
||||
README.rst
|
||||
license = Apache License, Version 2.0
|
||||
author = OpenStack
|
||||
author-email = openstack-dev@lists.openstack.org
|
||||
home-page = https://github.com/stackforge/python-savannaclient
|
||||
home-page = https://github.com/openstack/python-saharaclient
|
||||
classifier =
|
||||
Environment :: OpenStack
|
||||
Intended Audience :: Information Technology
|
||||
|
|
Loading…
Reference in New Issue