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
- using --install-options is deprecated, building pyzmq throws an error
- use environment variables instead to activate draft support
  • Loading branch information
Christoph authored and Christoph committed Jan 5, 2023
1 parent 1fcb39b commit d3c67a3
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 d3c67a3

Please sign in to comment.