Skip to content

Commit

Permalink
Fix pyzmq installation from source with drafts support (MiczFlor#2096)
Browse files Browse the repository at this point in the history
* Fix pyzmq installation from source with drafts support

* Update pyzmq docs link
  • Loading branch information
DivineDominion authored Nov 8, 2023
1 parent 5e35ce8 commit 373fd38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions installation/routines/setup_jukebox_core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ _jukebox_core_build_and_install_pyzmq() {
# we need to compile the latest version in Github
# As soon WebSockets support is stable in ZMQ, this can be removed
# Sources:
# https://pyzmq.readthedocs.io/en/latest/draft.html
# https://pyzmq.readthedocs.io/en/latest/howto/draft.html
# https://github.com/MonsieurV/ZeroMQ-RPi/blob/master/README.md
echo " Build and install pyzmq with WebSockets Support"

Expand All @@ -98,8 +98,8 @@ _jukebox_core_build_and_install_pyzmq() {
_jukebox_core_download_prebuild_libzmq_with_drafts
fi

sudo ZMQ_PREFIX=${ZMQ_PREFIX} ZMQ_DRAFT_API=1 \
pip3 install --no-cache-dir --pre pyzmq
sudo ZMQ_PREFIX="${ZMQ_PREFIX}" ZMQ_DRAFT_API=1 \
pip3 install --no-cache-dir --no-binary "pyzmq" --pre pyzmq
else
echo " Skipping. pyzmq already installed"
fi
Expand Down

0 comments on commit 373fd38

Please sign in to comment.