Skip to content

Commit

Permalink
Add conditional pyobjc dependencies for Darwin
Browse files Browse the repository at this point in the history
pyobjc-framework-corewlan will be replacing airport -s
pyobjc-framework-corelocation is used to provide the permission
to read scanned SSID

This works toward solving gopro#506
  • Loading branch information
epheo committed Apr 8, 2024
1 parent a454161 commit 936015b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demos/python/sdk_wireless_camera_control/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ opencv-python = { version = "^4", optional = true }
Pillow = {version= "^9", optional = true}
pytz = "*"
tzlocal = "*"
pyobjc-framework-corewlan = {version = "<10.0", markers = "sys_platform == 'darwin'"}
pyobjc-framework-corelocation = {version = "<10.0", markers = "sys_platform == 'darwin'"}

[tool.poetry.extras]
gui = ["opencv-python", "pillow"]
Expand Down

0 comments on commit 936015b

Please sign in to comment.