Skip to content

Commit 251b984

Browse files
test
1 parent c007c29 commit 251b984

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Formula/label-studio.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ class LabelStudio < Formula
1616

1717
depends_on "postgresql@14"
1818
depends_on "python@3.10" # Apple's Pypthon distribution does not include pip
19+
depends_on "opencv"
1920

2021
def install
2122
python3 = "python3.10"
2223
venv = virtualenv_create(libexec, python3, system_site_packages: true, without_pip: false)
2324
system libexec/"bin/pip", "install", "--verbose", "--upgrade", "pip==22.3.1"
24-
system libexec/"bin/pip", "install", "--verbose", "--ignore-installed", buildpath
25+
system libexec/"bin/pip", "install", "--verbose", "--no-binary=opencv-python-headless", "--ignore-installed", buildpath
2526
system libexec/"bin/pip", "uninstall", "-y", "label-studio"
2627
venv.pip_install_and_link buildpath
2728
end

0 commit comments

Comments
 (0)