Skip to content

Commit

Permalink
add draft api check
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Apr 17, 2024
1 parent 86b4d9f commit 4cb6dd4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion installation/routines/setup_jukebox_core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,12 @@ _jukebox_core_check() {
verify_dirs_exists "${VIRTUAL_ENV}"

local pip_modules=$(get_args_from_file "${INSTALLATION_PATH}/requirements.txt")
verify_pip_modules pyzmq $pip_modules
verify_pip_modules $pip_modules

local zmq_hasDraftApi=$(python -c 'import zmq; print(f"{zmq.DRAFT_API}")')
if [ "${zmq_hasDraftApi}" != "True" ]]; then
exit_on_error "ERROR: ZMQ does not have DRAFT-APIs activated!"
fi

verify_files_chmod_chown 644 "${CURRENT_USER}" "${CURRENT_USER_GROUP}" "${JUKEBOX_PULSE_CONFIG}"

Expand Down

0 comments on commit 4cb6dd4

Please sign in to comment.