qlsdk2 0.1.2__tar.gz → 0.1.3__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.
- {qlsdk2-0.1.2 → qlsdk2-0.1.3}/PKG-INFO +1 -1
- {qlsdk2-0.1.2 → qlsdk2-0.1.3}/setup.py +2 -2
- {qlsdk2-0.1.2 → qlsdk2-0.1.3}/src/qlsdk/ar4m/ar4sdk.py +4 -1
- {qlsdk2-0.1.2 → qlsdk2-0.1.3}/src/qlsdk2.egg-info/PKG-INFO +1 -1
- {qlsdk2-0.1.2 → qlsdk2-0.1.3}/README.md +0 -0
- {qlsdk2-0.1.2 → qlsdk2-0.1.3}/setup.cfg +0 -0
- {qlsdk2-0.1.2 → qlsdk2-0.1.3}/src/qlsdk/__init__.py +0 -0
- {qlsdk2-0.1.2 → qlsdk2-0.1.3}/src/qlsdk/ar4m/__init__.py +0 -0
- {qlsdk2-0.1.2 → qlsdk2-0.1.3}/src/qlsdk/ar4m/ar4m.py +0 -0
- {qlsdk2-0.1.2 → qlsdk2-0.1.3}/src/qlsdk/ar4m/example.py +0 -0
- {qlsdk2-0.1.2 → qlsdk2-0.1.3}/src/qlsdk2.egg-info/SOURCES.txt +0 -0
- {qlsdk2-0.1.2 → qlsdk2-0.1.3}/src/qlsdk2.egg-info/dependency_links.txt +0 -0
- {qlsdk2-0.1.2 → qlsdk2-0.1.3}/src/qlsdk2.egg-info/requires.txt +0 -0
- {qlsdk2-0.1.2 → qlsdk2-0.1.3}/src/qlsdk2.egg-info/top_level.txt +0 -0
- {qlsdk2-0.1.2 → qlsdk2-0.1.3}/test/test_ar4m.py +0 -0
|
@@ -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.
|
|
9
|
+
version="0.1.3",
|
|
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/
|
|
27
|
+
"src/qlsdk/ar4m/": ["libs/*.dll"],
|
|
28
28
|
"":["*.txt", "*.md"]
|
|
29
29
|
},
|
|
30
30
|
# entry_points={
|
|
@@ -8,10 +8,13 @@ from ctypes import (
|
|
|
8
8
|
)
|
|
9
9
|
from loguru import logger
|
|
10
10
|
from time import sleep, time
|
|
11
|
+
import os
|
|
11
12
|
|
|
13
|
+
real_path = os.path.realpath(__file__)
|
|
14
|
+
dll_path = f'{real_path}/libs/libAr4SDK.dll'
|
|
12
15
|
# 加载 DLL
|
|
13
16
|
if platform.system() == 'Windows':
|
|
14
|
-
_dll = ctypes.CDLL(
|
|
17
|
+
_dll = ctypes.CDLL(dll_path)
|
|
15
18
|
else:
|
|
16
19
|
raise NotImplementedError(f"不支持非Windows平台:{platform.system()}")
|
|
17
20
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|