From 6d4ce77f23faca6ee754a40cae39b9eb01072240 Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Tue, 18 Aug 2015 17:53:43 +0200 Subject: [PATCH] Fix package name --- HACKING.rst | 2 +- doc/source/conf.py | 2 +- doc/source/index.rst | 4 ++-- releases.sh | 6 +++--- setup.cfg | 10 +++++----- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/HACKING.rst b/HACKING.rst index 6ff6442..db998ae 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -1,4 +1,4 @@ -python-jsonpath-rw-ext Style Commandments +jsonpath-rw-ext Style Commandments =============================================== Read the OpenStack Style Commandments http://docs.openstack.org/developer/hacking/ diff --git a/doc/source/conf.py b/doc/source/conf.py index db49fcb..3fe5b49 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -37,7 +37,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'python-jsonpath-rw-ext' +project = u'jsonpath-rw-ext' copyright = u'' # If true, '()' will be appended to :func: etc. cross-reference text. diff --git a/doc/source/index.rst b/doc/source/index.rst index 895f38d..ffe8a44 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -1,9 +1,9 @@ -.. python-jsonpath-rw-ext documentation master file, created by +.. jsonpath-rw-ext 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. -Welcome to python-jsonpath-rw-ext's documentation! +Welcome to jsonpath-rw-ext's documentation! ======================================================== Contents: diff --git a/releases.sh b/releases.sh index c2ba224..d91ca5d 100755 --- a/releases.sh +++ b/releases.sh @@ -6,10 +6,10 @@ git checkout master git tag -s $version -m "Release version ${version}" git checkout $version git clean -fd -rm -rf python_jsonpath_rw_ext.egg-info build dist +rm -rf jsonpath_rw_ext.egg-info build dist tox -r -evenv python setup.py sdist bdist_wheel -echo "release: python-jsonpath-rw-ext ${version}" +echo "release: jsonpath-rw-ext ${version}" echo echo "SHA1sum: " sha1sum dist/* @@ -20,4 +20,4 @@ echo echo "To publish:" echo echo "* git push --tags" -echo "* twine upload -r pypi -s dist/python-jsonpath-rw-ext-${version}.tar.gz dist/python_jsonpath_rw_ext-${version}-py2.py3-none-any.whl" +echo "* twine upload -r pypi -s dist/jsonpath-rw-ext-${version}.tar.gz dist/jsonpath_rw_ext-${version}-py2.py3-none-any.whl" diff --git a/setup.cfg b/setup.cfg index eb24faa..5ccdede 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -name = python-jsonpath-rw-ext +name = jsonpath-rw-ext summary = Extensions for JSONPath RW description-file = README.rst @@ -31,17 +31,17 @@ upload-dir = doc/build/html [compile_catalog] directory = jsonpath_rw_ext/locale -domain = python-jsonpath-rw-ext +domain = jsonpath-rw-ext [update_catalog] -domain = python-jsonpath-rw-ext +domain = jsonpath-rw-ext output_dir = jsonpath_rw_ext/locale -input_file = jsonpath_rw_ext/locale/python-jsonpath-rw-ext.pot +input_file = jsonpath_rw_ext/locale/jsonpath-rw-ext.pot [extract_messages] keywords = _ gettext ngettext l_ lazy_gettext mapping_file = babel.cfg -output_file = jsonpath_rw_ext/locale/python-jsonpath-rw-ext.pot +output_file = jsonpath_rw_ext/locale/jsonpath-rw-ext.pot [wheel] universal = 1