qlsdk2 0.1.4__tar.gz → 0.1.5__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: qlsdk2
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: SDK for quanlan device
5
5
  Home-page: https://github.com/hehuajun/qlsdk
6
6
  Author: hehuajun
@@ -6,7 +6,7 @@ with open("README.md", "r") as fh:
6
6
 
7
7
  setuptools.setup(
8
8
  name="qlsdk2",
9
- version="0.1.4",
9
+ version="0.1.5",
10
10
  author="hehuajun",
11
11
  author_email="hehuajun@eegion.com",
12
12
  description="SDK for quanlan device",
@@ -24,7 +24,7 @@ setuptools.setup(
24
24
  install_requires=open("requirements.txt").read().splitlines(),
25
25
  include_package_data=True,
26
26
  package_data={
27
- "src/qlsdk/ar4m/": ["libs/*.dll"],
27
+ # "src/qlsdk/ar4m/": ["libs/*.dll"],
28
28
  "qlsdk/ar4m": ["libs/*.dll"],
29
29
  "":["*.txt", "*.md"]
30
30
  },
@@ -1,6 +1,5 @@
1
1
  __path__ = __import__("pkgutil").extend_path(__path__, __name__)
2
2
 
3
- from .ar4m import AR4M
4
3
  from .ar4sdk import AR4SDK, AR4, Packet, AR4Packet
5
4
 
6
5
 
@@ -11,7 +11,8 @@ from time import sleep, time
11
11
  import os
12
12
 
13
13
  real_path = os.path.realpath(__file__)
14
- dll_path = f'{real_path}/libs/libAr4SDK.dll'
14
+ dll_path = f'{os.path.dirname(real_path)}/libs/libAr4SDK.dll'
15
+
15
16
  # 加载 DLL
16
17
  if platform.system() == 'Windows':
17
18
  _dll = ctypes.CDLL(dll_path)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: qlsdk2
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: SDK for quanlan device
5
5
  Home-page: https://github.com/hehuajun/qlsdk
6
6
  Author: hehuajun
File without changes
File without changes
File without changes
File without changes