diff --git a/fast_bitrix24/__init__.py b/fast_bitrix24/__init__.py index 40f9311..1d942f0 100644 --- a/fast_bitrix24/__init__.py +++ b/fast_bitrix24/__init__.py @@ -1,5 +1,3 @@ """Высокоуровневый API для доступа к Битрикс24""" from fast_bitrix24.bitrix import Bitrix, BitrixAsync - -__version__ = "1.5.16" diff --git a/fast_bitrix24/__version__.py b/fast_bitrix24/__version__.py new file mode 100644 index 0000000..35ddfd4 --- /dev/null +++ b/fast_bitrix24/__version__.py @@ -0,0 +1 @@ +__version__ = "1.5.16" diff --git a/fast_bitrix24/logger.py b/fast_bitrix24/logger.py index f926dbf..0feb5c3 100644 --- a/fast_bitrix24/logger.py +++ b/fast_bitrix24/logger.py @@ -1,5 +1,5 @@ from logging import DEBUG, NullHandler, getLogger -from __init__ import __version__ +from __version__ import __version__ logger = getLogger("fast_bitrix24") logger.setLevel(DEBUG) diff --git a/setup.py b/setup.py index eac6ef3..7729fd3 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ import setuptools -from fast_bitrix24 import __version__ +from fast_bitrix24.__version__ import __version__ with open("README.md", "r", encoding='utf-8') as fh: long_description = fh.read()