diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 301ff4c9..febc03d3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,13 +1,17 @@ Changelog ========= -2.0.1 (Sep 11, 2022) +2.0.2 (Sep 11, 2022) -------------------- - #292: Fix 500 error when accessing history of blob objects (Jelmer Vernooij) - #293, #294: Handle SymrefLoop (Jelmer Vernooij) - #294: Add 'main' to the list of default branch names to try (Jelmer Vernooij) - Update description on PyPI +2.0.1 (Sep 11, 2022) +-------------------- +(Broken release) + 2.0.0 (Aug 20, 2022) -------------------- - Remove `bin/klaus` and make it a `console_script` entrypoint instead (Jonas Haag) diff --git a/klaus/__init__.py b/klaus/__init__.py index 71f0a29c..3e805d84 100644 --- a/klaus/__init__.py +++ b/klaus/__init__.py @@ -12,7 +12,7 @@ from klaus.repo import FancyRepo, InvalidRepo -KLAUS_VERSION = utils.guess_git_revision() or "2.0.1" +KLAUS_VERSION = utils.guess_git_revision() or "2.0.2" class Klaus(flask.Flask): diff --git a/setup.py b/setup.py index 5e9b1af0..4d1c0053 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,9 @@ # encoding: utf-8 +import os from setuptools import setup -from pathlib import Path -this_directory = Path(__file__).parent -long_description = (this_directory / "README.rst").read_text() +long_description = open(os.path.join(os.path.dirname(__file__), "README.rst")).read() def install_data_files_hack(): # This is a clever hack to circumvent distutil's data_files @@ -30,7 +29,7 @@ def install_data_files_hack(): setup( name="klaus", - version="2.0.1", + version="2.0.2", author="Jonas Haag", author_email="jonas@lophus.org", packages=["klaus", "klaus.contrib"],