Skip to content

Commit

Permalink
setup_jukebox_core.sh: fix pyzmq installation for current pip versions (
Browse files Browse the repository at this point in the history
MiczFlor#1928)

- using --install-options is deprecated, building pyzmq throws an error
- use environment variables instead to activate draft support

Co-authored-by: Christoph <Christoph Lauer>
  • Loading branch information
notapirate authored and c0un7-z3r0 committed Apr 30, 2023
1 parent 9a0fcd3 commit 83a2e28
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions installation/routines/setup_jukebox_core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,8 @@ _jukebox_core_build_and_install_pyzmq() {
_jukebox_core_download_prebuild_libzmq_with_drafts
fi

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

0 comments on commit 83a2e28

Please sign in to comment.