TSMasterAPI 2024.8.22.1170__tar.gz → 2024.8.22.1171__tar.gz

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.
Files changed (20) hide show
  1. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/PKG-INFO +1 -1
  2. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/TSMasterAPI/TSDirver.py +8 -1
  3. TSMasterAPI-2024.8.22.1171/TSMasterAPI/__init__.py +2 -0
  4. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/TSMasterAPI.egg-info/PKG-INFO +1 -1
  5. TSMasterAPI-2024.8.22.1170/TSMasterAPI/__init__.py +0 -2
  6. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/README.rst +0 -0
  7. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/TSMasterAPI/TSAPI.py +0 -0
  8. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/TSMasterAPI/TSCallback.py +0 -0
  9. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/TSMasterAPI/TSEnum.py +0 -0
  10. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/TSMasterAPI/TSFibex_parse.py +0 -0
  11. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/TSMasterAPI/TSMasterAPI.py +0 -0
  12. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/TSMasterAPI/TSStruct.py +0 -0
  13. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/TSMasterAPI/windows/bin/TSMaster.dll +0 -0
  14. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/TSMasterAPI/windows/bin64/TSMaster.dll +0 -0
  15. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/TSMasterAPI.egg-info/SOURCES.txt +0 -0
  16. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/TSMasterAPI.egg-info/dependency_links.txt +0 -0
  17. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/TSMasterAPI.egg-info/top_level.txt +0 -0
  18. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/license.txt +0 -0
  19. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/setup.cfg +0 -0
  20. {TSMasterAPI-2024.8.22.1170 → TSMasterAPI-2024.8.22.1171}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TSMasterAPI
3
- Version: 2024.8.22.1170
3
+ Version: 2024.8.22.1171
4
4
  Summary: Use TSMaster hardware
5
5
  Home-page: UNKNOWN
6
6
  Author: seven
@@ -54,4 +54,11 @@ if dll_path != '':
54
54
  except Exception as r:
55
55
  print(r"Could not load the TOSUN DLL from '%s'. Error: %s" % (dll_path, r))
56
56
  else:
57
- print(r"Could not load the TOSUN DLL Error: Registry not found")
57
+ try:
58
+ if _arch == '32bit':
59
+ dll_path = _curr_path + "\\windows\\bin\\TSMaster.dll"
60
+ else:
61
+ dll_path = _curr_path + "\\windows\\bin64\\TSMaster.dll"
62
+ dll = WinDLL(dll_path)
63
+ except Exception as r:
64
+ print(r"Could not load the TOSUN DLL from '%s'. Error: %s" % (dll_path, r))
@@ -0,0 +1,2 @@
1
+ from .TSAPI import *
2
+ __version__ = 'v2024.8.22.1171'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TSMasterAPI
3
- Version: 2024.8.22.1170
3
+ Version: 2024.8.22.1171
4
4
  Summary: Use TSMaster hardware
5
5
  Home-page: UNKNOWN
6
6
  Author: seven
@@ -1,2 +0,0 @@
1
- from .TSAPI import *
2
- __version__ = 'v2024.8.22.1170'