diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 029a1a8..2e1637c 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -3,6 +3,8 @@ + + diff --git a/setup.py b/setup.py index 13685b8..6f6f3c7 100644 --- a/setup.py +++ b/setup.py @@ -7,19 +7,21 @@ __license__ = "LGPLv2" from setuptools import setup, find_namespace_packages +from src.revpimodio2.__about__ import __version__ + with open("README.md") as fh: # Load long description from readme file long_description = fh.read() setup( name="revpimodio2", - version="2.6.0rc4", + version=__version__, packages=find_namespace_packages("src"), package_dir={'': 'src'}, include_package_data=True, - python_requires="~=3.2", + python_requires=">= 3.2", install_requires=[], entry_points={}, diff --git a/src/revpimodio2/__about__.py b/src/revpimodio2/__about__.py new file mode 100644 index 0000000..b776f65 --- /dev/null +++ b/src/revpimodio2/__about__.py @@ -0,0 +1,6 @@ +# -*- coding: utf-8 -*- +"""Metadata of package.""" +__author__ = "Sven Sager " +__copyright__ = "Copyright (C) 2023 Sven Sager" +__license__ = "LGPLv2" +__version__ = "2.6.0rc5" diff --git a/src/revpimodio2/__init__.py b/src/revpimodio2/__init__.py index 0aa9532..9f42f05 100644 --- a/src/revpimodio2/__init__.py +++ b/src/revpimodio2/__init__.py @@ -22,9 +22,8 @@ __all__ = [ __author__ = "Sven Sager " __copyright__ = "Copyright (C) 2023 Sven Sager" __license__ = "LGPLv2" -__package__ = "revpimodio2" -__version__ = "2.6.0rc4" +from .__about__ import __version__ from ._internal import * from .helper import Cycletools, EventCallback from .io import IOEvent