Skip to content

Commit e508849

Browse files
Fix client install script after packaging refactor (#1681) (#1748)
Replaces deprecated OPENCUE_PROTO_PACKAGE_PATH env check to align with new packaging structure introduced in #1681, where proto is now its own package (opencue_proto) and all packages are prefixed with "opencue_". - Updated condition to use Bash idiomatic check for defined variables - Adds `pip install proto/` to ensure the opencue_proto package is installed - Removed legacy fallback install of cuebot source directory - Ensures all package paths explicitly use trailing slashes (e.g., pycue/) to direct `pip` to local directories instead of fetching from PyPI This ensures compatibility with the refactored pyproject.toml-based installation flow and enables support for Python 3.11+ environments.
1 parent 00fba0e commit e508849

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sandbox/install-client-sources.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
set -e
44

55
# Install all client packages.
6-
if [[ -v OPENCUE_PROTO_PACKAGE_PATH ]]
6+
if [[ -n "${OPENCUE_PROTO_PACKAGE_PATH+x}" ]]
77
then
88
echo "Installing pre-built cuebot package"
99
pip install ${OPENCUE_PROTO_PACKAGE_PATH}
1010
else
11-
pip install cuebot/
11+
pip install proto/
1212
fi
1313
pip install pycue/ pyoutline/ cueadmin/ cuesubmit/ cuegui/

0 commit comments

Comments
 (0)