naeural-client 2.7.24__py3-none-any.whl → 2.7.25__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- naeural_client/_ver.py +1 -1
- naeural_client/logging/base_logger.py +5 -1
- {naeural_client-2.7.24.dist-info → naeural_client-2.7.25.dist-info}/METADATA +1 -1
- {naeural_client-2.7.24.dist-info → naeural_client-2.7.25.dist-info}/RECORD +7 -7
- {naeural_client-2.7.24.dist-info → naeural_client-2.7.25.dist-info}/WHEEL +0 -0
- {naeural_client-2.7.24.dist-info → naeural_client-2.7.25.dist-info}/entry_points.txt +0 -0
- {naeural_client-2.7.24.dist-info → naeural_client-2.7.25.dist-info}/licenses/LICENSE +0 -0
naeural_client/_ver.py
CHANGED
@@ -1100,14 +1100,18 @@ class BaseLogger(object):
|
|
1100
1100
|
return
|
1101
1101
|
|
1102
1102
|
def _maybe_migrate_folder(self):
|
1103
|
-
|
1103
|
+
user_folder = self.get_user_folder()
|
1104
|
+
if user_folder.is_dir():
|
1105
|
+
self.P(f"{str(user_folder)} already exists. Skipping migration.")
|
1104
1106
|
return
|
1105
1107
|
user_base_folder = self.get_user_folder(as_str=True, include_sdk_home=True)
|
1108
|
+
self.P(f'{str(user_folder)} does not exist. Checking for previous app homes if necessary...')
|
1106
1109
|
if user_base_folder in self._base_folder:
|
1107
1110
|
BaseLogger.print_color("Using default user folder. Checking for previous app homes...", color='d')
|
1108
1111
|
for old_sdk in SDK_HOME_PREV:
|
1109
1112
|
new_path = self.get_user_folder(as_str=False, include_sdk_home=True)
|
1110
1113
|
old_path = self.get_user_folder(as_str=False, include_sdk_home=False) / old_sdk
|
1114
|
+
self.P(f'Checking for previous app home: {old_path}')
|
1111
1115
|
if old_path.is_dir():
|
1112
1116
|
BaseLogger.print_color(f"Found previous app home '{old_path}'. Renaming to '{SDK_HOME}'...", color='d')
|
1113
1117
|
old_path.rename(new_path)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: naeural_client
|
3
|
-
Version: 2.7.
|
3
|
+
Version: 2.7.25
|
4
4
|
Summary: `naeural_client` is the Python SDK required for client app development for the Naeural Edge Protocol Edge Protocol framework
|
5
5
|
Project-URL: Homepage, https://github.com/NaeuralEdgeProtocol/naeural_client
|
6
6
|
Project-URL: Bug Tracker, https://github.com/NaeuralEdgeProtocol/naeural_client/issues
|
@@ -1,5 +1,5 @@
|
|
1
1
|
naeural_client/__init__.py,sha256=YimqgDbjLuywsf8zCWE0EaUXH4MBUrqLxt0TDV558hQ,632
|
2
|
-
naeural_client/_ver.py,sha256=
|
2
|
+
naeural_client/_ver.py,sha256=hFnAs1TM_Kwj7JxuCpMk1xnESln3MBoRLAaOeR42P3g,331
|
3
3
|
naeural_client/base_decentra_object.py,sha256=C4iwZTkhKNBS4VHlJs5DfElRYLo4Q9l1V1DNVSk1fyQ,4412
|
4
4
|
naeural_client/plugins_manager_mixin.py,sha256=X1JdGLDz0gN1rPnTN_5mJXR8JmqoBFQISJXmPR9yvCo,11106
|
5
5
|
naeural_client/base/__init__.py,sha256=hACh83_cIv7-PwYMM3bQm2IBmNqiHw-3PAfDfAEKz9A,259
|
@@ -60,7 +60,7 @@ naeural_client/io_formatter/default/a_dummy.py,sha256=qr9eUizQ-NN5jdXVzkaZKMaf9K
|
|
60
60
|
naeural_client/io_formatter/default/aixp1.py,sha256=MX0TeUR4APA-qN3vUC6uzcz8Pssz5lgrQWo7td5Ri1A,3052
|
61
61
|
naeural_client/io_formatter/default/default.py,sha256=gEy78cP2D5s0y8vQh4aHuxqz7D10gGfuiKF311QhrpE,494
|
62
62
|
naeural_client/logging/__init__.py,sha256=b79X45VC6c37u32flKB2GAK9f-RR0ocwP0JDCy0t7QQ,33
|
63
|
-
naeural_client/logging/base_logger.py,sha256=
|
63
|
+
naeural_client/logging/base_logger.py,sha256=cfSWHoZkDS0XSaNMF-ldNjAHZ0OkW8_B_oSwPQomoTM,69208
|
64
64
|
naeural_client/logging/small_logger.py,sha256=m12hCb_H4XifJYYfgCAOUDkcXm-h4pSODnFf277OFVI,2937
|
65
65
|
naeural_client/logging/logger_mixins/__init__.py,sha256=yQO7umlRvz63FeWpi-F9GRmC_MOHcNW6R6pwvZZBy3A,600
|
66
66
|
naeural_client/logging/logger_mixins/class_instance_mixin.py,sha256=xUXE2VZgmrlrSrvw0f6GF1jlTnVLeVkIiG0bhlBfq3o,2741
|
@@ -85,8 +85,8 @@ naeural_client/utils/comm_utils.py,sha256=4cS9llRr_pK_3rNgDcRMCQwYPO0kcNU7AdWy_L
|
|
85
85
|
naeural_client/utils/config.py,sha256=wVY_IdLJ6D-eJYnfsOGUa4eJApxDX2oAqK0FhjPI1DE,10187
|
86
86
|
naeural_client/utils/dotenv.py,sha256=_AgSo35n7EnQv5yDyu7C7i0kHragLJoCGydHjvOkrYY,2008
|
87
87
|
naeural_client/utils/oracle_sync/oracle_tester.py,sha256=GmZwu2JM9_UB2K-4rKB3o0RgWLqM-7Im6HwBnQLXmHI,25312
|
88
|
-
naeural_client-2.7.
|
89
|
-
naeural_client-2.7.
|
90
|
-
naeural_client-2.7.
|
91
|
-
naeural_client-2.7.
|
92
|
-
naeural_client-2.7.
|
88
|
+
naeural_client-2.7.25.dist-info/METADATA,sha256=Px5ucQyshk9HmWNfeIQDmNzH9-OeCPdDvjHsPO1R7X8,12354
|
89
|
+
naeural_client-2.7.25.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
90
|
+
naeural_client-2.7.25.dist-info/entry_points.txt,sha256=CTua17GUrRa4aXeafezGC9TiWKGKQzwTjQmB2jyj22g,91
|
91
|
+
naeural_client-2.7.25.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
|
92
|
+
naeural_client-2.7.25.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|