pyorbbec 1.0.1.15__tar.gz → 1.0.1.17__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.4
2
2
  Name: pyorbbec
3
- Version: 1.0.1.15
3
+ Version: 1.0.1.17
4
4
  Summary: Python interface to the Orbbec SDK.
5
5
  Home-page: https://orbbec.com.cn/
6
6
  Author: orbbec
@@ -15,6 +15,7 @@
15
15
  # ******************************************************************************
16
16
 
17
17
  import os
18
+ import sys
18
19
  import platform
19
20
  import shutil
20
21
 
@@ -31,6 +32,18 @@ requires = [
31
32
  'pynput', # for keyboard input
32
33
  ]
33
34
 
35
+ # platform tag
36
+ def get_platform_tag():
37
+ if sys.platform.startswith('win'):
38
+ return 'win_amd64'
39
+ elif sys.platform.startswith('linux'):
40
+ if sys.maxsize > 2**32 and 'aarch64' in sys.version.lower():
41
+ return 'linux_aarch64'
42
+ else:
43
+ return 'manylinux_2_17_x86_64'
44
+ else:
45
+ raise ValueError(f"Unsupported platform: {sys.platform}")
46
+
34
47
  # Platform
35
48
  current_platform = platform.system().lower()
36
49
 
@@ -49,7 +62,7 @@ elif current_platform == 'linux':
49
62
 
50
63
  setup(
51
64
  name="pyorbbec",
52
- version="1.0.1.15",
65
+ version="1.0.1.17",
53
66
  description="Python interface to the Orbbec SDK.",
54
67
  long_description_content_type="text/markdown",
55
68
  author="orbbec",
@@ -57,6 +70,13 @@ setup(
57
70
  url="https://orbbec.com.cn/",
58
71
  packages=find_packages(where="src", include=["pyorbbecsdk", "pyorbbecsdk.*"]),
59
72
  package_dir={"": "src"},
73
+ options={
74
+ 'bdist_wheel': {
75
+ 'python_tag': 'py38',
76
+ 'plat_name': get_platform_tag(),
77
+ 'universal': False,
78
+ }
79
+ },
60
80
  python_requires=">=3.8",
61
81
  install_requires=requires,
62
82
  license="Apache-2.0",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyorbbec
3
- Version: 1.0.1.15
3
+ Version: 1.0.1.17
4
4
  Summary: Python interface to the Orbbec SDK.
5
5
  Home-page: https://orbbec.com.cn/
6
6
  Author: orbbec
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes