From 15f43e5de4659c05db275647f607db1bd4fa8c8d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 24 Sep 2015 21:23:57 +0200 Subject: [PATCH] Name the package `gnocchiclient' There is no good reason to name this python-gnocchiclient, except following the bad trend started with OpenStack. Let's be smarter and use gnocchiclient on PyPI. Change-Id: I05957ae04223ceb7c89b46f7548bf88570971a13 --- HACKING.rst | 4 ++-- README.rst | 6 +++--- doc/source/api.rst | 2 +- doc/source/conf.py | 4 ++-- doc/source/index.rst | 2 +- doc/source/installation.rst | 7 +------ gnocchiclient/version.py | 2 +- setup.cfg | 10 +++++----- 8 files changed, 16 insertions(+), 21 deletions(-) diff --git a/HACKING.rst b/HACKING.rst index 36343ae..9445974 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -1,4 +1,4 @@ -python-gnocchiclient Style Commandments -=============================================== +gnocchiclient Style Commandments +================================ Read the OpenStack Style Commandments http://docs.openstack.org/developer/hacking/ diff --git a/README.rst b/README.rst index dae3966..81f0a51 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,6 @@ -=============================== -python-gnocchiclient -=============================== +============= +gnocchiclient +============= Python bindings to the OpenStack Gnocchi API diff --git a/doc/source/api.rst b/doc/source/api.rst index 3250669..6bf3112 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -9,7 +9,7 @@ The :mod:`gnocchiclient` Python API Usage ----- -To use python-gnocchiclient in a project:: +To use gnocchiclient in a project:: >>> from gnocchiclient.v1 import client >>> gnocchi = client.Client(...) diff --git a/doc/source/conf.py b/doc/source/conf.py index 1010fd1..b7b0ca4 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -79,8 +79,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'python-gnocchiclient' -copyright = u'2013, OpenStack Foundation' +project = u'gnocchiclient' +copyright = u'2015, OpenStack Foundation' # If true, '()' will be appended to :func: etc. cross-reference text. add_function_parentheses = True diff --git a/doc/source/index.rst b/doc/source/index.rst index 39c713e..d85bb70 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -1,4 +1,4 @@ -.. python-gnocchiclient documentation master file, created by +.. gnocchiclient documentation master file, created by sphinx-quickstart on Tue Jul 9 22:26:36 2013. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. diff --git a/doc/source/installation.rst b/doc/source/installation.rst index 4413840..a9a7853 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -4,9 +4,4 @@ Installation At the command line:: - $ pip install python-gnocchiclient - -Or, if you have virtualenvwrapper installed:: - - $ mkvirtualenv python-gnocchiclient - $ pip install python-gnocchiclient + $ pip install gnocchiclient diff --git a/gnocchiclient/version.py b/gnocchiclient/version.py index de7744d..683c55e 100644 --- a/gnocchiclient/version.py +++ b/gnocchiclient/version.py @@ -15,4 +15,4 @@ import pbr.version -__version__ = pbr.version.VersionInfo('python-gnocchiclient').version_string() +__version__ = pbr.version.VersionInfo('gnocchiclient').version_string() diff --git a/setup.cfg b/setup.cfg index 36d1a85..f74a1e8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -name = python-gnocchiclient +name = gnocchiclient summary = Python client library for Gnocchi description-file = README.rst @@ -41,14 +41,14 @@ upload-dir = doc/build/html [compile_catalog] directory = gnocchiclient/locale -domain = python-gnocchiclient +domain = gnocchiclient [update_catalog] -domain = python-gnocchiclient +domain = gnocchiclient output_dir = gnocchiclient/locale -input_file = gnocchiclient/locale/python-gnocchiclient.pot +input_file = gnocchiclient/locale/gnocchiclient.pot [extract_messages] keywords = _ gettext ngettext l_ lazy_gettext mapping_file = babel.cfg -output_file = gnocchiclient/locale/python-gnocchiclient.pot +output_file = gnocchiclient/locale/gnocchiclient.pot