File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
# -*- mode: python ; coding: utf-8 -*-
2
2
from PyInstaller .utils .hooks import collect_data_files
3
3
4
- datas = []
4
+ datas = [( 'pyproject.toml' , '.' ) ]
5
5
datas += collect_data_files ('ciscoreset' )
6
6
datas += collect_data_files ('ciscoaxl' )
7
7
Original file line number Diff line number Diff line change 1
1
# -*- mode: python ; coding: utf-8 -*-
2
2
from PyInstaller .utils .hooks import collect_data_files
3
3
4
- datas = []
4
+ datas = [( 'pyproject.toml' , '.' ) ]
5
5
datas += collect_data_files ('ciscoreset' )
6
6
datas += collect_data_files ('ciscoaxl' )
7
7
Original file line number Diff line number Diff line change 1
- __version__ = "0.1.0"
1
+ import toml
2
+
2
3
from .axl import CUCM
3
4
from .credentials import get_credentials
4
5
from .keys import KEY_SUPPORT
5
6
from .vision import get_menu_position , get_list_position
6
7
from .xml import XMLPhone
7
8
from .phone import PhoneConnection
9
+ from .configs import ROOT_DIR
10
+
11
+ __version__ = toml .load (str (ROOT_DIR .parent / "pyproject.toml" ))["tool" ]["poetry" ][
12
+ "version"
13
+ ]
You can’t perform that action at this time.
0 commit comments