File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ 0.1.6
Original file line number Diff line number Diff line change 1- from version import version
1+ from pathlib import Path
22
3- __version__ = version
3+
4+ def get_version ():
5+ this_directory = Path (__file__ ).parent
6+ root_project_directory = Path (this_directory ).parent
7+ return (root_project_directory / "VERSION.txt" ).read_text (encoding = 'utf-8' )
8+
9+
10+ __version__ = get_version ()
411
Original file line number Diff line number Diff line change 1- """Cycode Client"""
1+ from pathlib import Path
22from .config import logger
3- from version import version
43
5- __version__ = version
4+
5+ def get_version ():
6+ this_directory = Path (__file__ ).parent
7+ root_project_directory = Path (this_directory ).parent
8+ return (root_project_directory / "VERSION.txt" ).read_text (encoding = 'utf-8' )
9+
10+
11+ __version__ = get_version ()
612
713__all__ = [
814 "logger" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments