From: Oleg Broytman Date: Fri, 16 Aug 2024 13:36:55 +0000 (+0300) Subject: Refactor: Move version from `setup.py` to `bkmk_objects.py` X-Git-Tag: 5.7.0~5 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f93ec46249d26d06645ba6031090d290fd52089c;p=bookmarks_db.git Refactor: Move version from `setup.py` to `bkmk_objects.py` --- 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",