diff --git a/setup.py b/setup.py index 381d7fd..426a178 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ # Author: # Ralf Ramsauer # -# Copyright (c) Binary Kitchen, 2018 +# Copyright (c) Binary Kitchen, 2018-2021 # # This work is licensed under the terms of the GNU GPL, version 2. See # the COPYING file in the top-level directory. @@ -13,7 +13,7 @@ from setuptools import setup, find_packages with open("VERSION") as version_file: - version = version_file.read().lstrip("v") + version = version_file.read().lstrip("v").rstrip() setup(name="pydoorlock", version=version, description="A Python interface for doorlock",