From c86faf23cd04aca0d2d816261aa97442573d5c87 Mon Sep 17 00:00:00 2001 From: Philip Wellnitz Date: Mon, 1 Mar 2021 16:50:23 +0900 Subject: [PATCH 1/2] fix version --- powerline/version.py | 7 +------ setup.py | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/powerline/version.py b/powerline/version.py index 8b5195f11..0f46c6e81 100644 --- a/powerline/version.py +++ b/powerline/version.py @@ -7,9 +7,4 @@ __version__ = "2.8.2" def get_version(): - try: - return __version__ + '.dev9999+git.' + str(subprocess.check_output(['git', 'rev-parse', 'HEAD']).strip()) - except Exception: - print_exc() - return __version__ - + return __version__ diff --git a/setup.py b/setup.py index 2571adad2..0a105dccf 100644 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ def compile_client(): setup( name='powerline-status', - version='2.7', + version=get_version(), description='The ultimate statusline/prompt utility.', long_description=README, classifiers=[ From efd3f46ffb265c3ff333675f068c0e046dd5181a Mon Sep 17 00:00:00 2001 From: MrFishFinger <4768596+MrFishFinger@users.noreply.github.com> Date: Mon, 26 Jul 2021 08:55:25 +0200 Subject: [PATCH 2/2] doco - add a comma, to make sentence more readable --- docs/source/installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/installation.rst b/docs/source/installation.rst index eb40ed028..6be736d37 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -54,7 +54,7 @@ Generic requirements Pip installation ================ -Due to a naming conflict with an unrelated project powerline is available on +Due to a naming conflict with an unrelated project, powerline is available on PyPI under the ``powerline-status`` name: .. code-block:: sh