From f93ec46249d26d06645ba6031090d290fd52089c Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 16 Aug 2024 16:36:55 +0300 Subject: [PATCH] Refactor: Move version from `setup.py` to `bkmk_objects.py` --- bkmk_objects.py | 1 + setup.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bkmk_objects.py b/bkmk_objects.py index 2ebf711..6f0663d 100644 --- a/bkmk_objects.py +++ b/bkmk_objects.py @@ -7,6 +7,7 @@ This file is a part of Bookmarks database and Internet robot. __author__ = "Oleg Broytman " __copyright__ = "Copyright (C) 2000-2024 PhiloSoft Design" __license__ = "GNU GPL" +__version__ = '5.7.0' __all__ = ['Folder', 'Bookmark', 'Ruler', 'Walker', 'Writer', 'Robot', 'InverseLinker', 'Linear', 'make_linear', 'make_tree', 'break_tree', diff --git a/setup.py b/setup.py index 0e90608..5d1d216 100755 --- a/setup.py +++ b/setup.py @@ -1,10 +1,11 @@ #!/usr/bin/env python from setuptools import setup +from bkmk_objects import __version__ setup( name='bookmarks_db', - version='5.7.0', + version=__version__, description='Bookmarks database and Internet robot', long_description=open('README', 'r').read(), long_description_content_type="text/plain", -- 2.39.5