Now, when the shell command 'escalator' was run, the system said:
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name python-escalatorclient was given, but was not able to be found.
Change-Id: Ie135038cec8a3475039f280e791a02b7308e39ae
Signed-off-by: Kong Wei<kong.wei2@zte.com.cn>
master_doc = 'index'
# General information about the project.
-project = 'python-escalatorclient'
+project = 'escalatorclient'
copyright = u'OpenStack Foundation'
# If true, '()' will be appended to :func: etc. cross-reference text.
====
escalator client is hosted in Launchpad so you can view current bugs at
-https://bugs.launchpad.net/python-escalatorclient/.
+https://bugs.launchpad.net/escalatorclient/.
import pbr.version
-version_info = pbr.version.VersionInfo('python-escalatorclient')
+version_info = pbr.version.VersionInfo('escalatorclient')
try:
__version__ = version_info.version_string()
osprofiler_web = importutils.try_import("osprofiler.web")
LOG = logging.getLogger(__name__)
-USER_AGENT = 'python-escalatorclient'
+USER_AGENT = 'escalatorclient'
CHUNKSIZE = 1024 * 64 # 64kB
function usage {
echo "Usage: $0 [OPTION]..."
- echo "Run python-escalatorclient's test suite(s)"
+ echo "Run escalatorclient's test suite(s)"
echo ""
echo " -p, --pep8 Just run flake8"
echo " -h, --help Print this usage message"