Skip to content

Commit

Permalink
Alternative solution for Orbbec on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
asmorkalov committed May 31, 2024
1 parent 882af5b commit 22c0895
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def main():
package_data = {
"cv2": ["*%s" % sysconfig.get_config_vars().get("SO"), "version.py"]
+ (["*.dll"] if os.name == "nt" else [])
+ (["*.dynlib"] if os.name == "Darwin" else [])
+ ["LICENSE.txt", "LICENSE-3RD-PARTY.txt"],
"cv2.data": ["*.xml"],
}
Expand All @@ -116,8 +117,8 @@ def main():
)
+
(
[r"lib/libOrbbecSDK\.\d\.\d\.\d.dylib"]
if os.name == "Darwin" and platform.machine() == "ARM64"
[r"lib/libOrbbecSDK\..*\.dylib"]
if os.name == "Darwin"
else []
)
+
Expand Down

0 comments on commit 22c0895

Please sign in to comment.