This document describes how to setup Medusa straight from Github.
For debian users, install the required Debian packages:
sudo apt-get install -y debhelper python3 dh-virtualenv libffi-dev libssl-dev python3-dev libxml2-dev libxslt-dev build-essential python3-pip
There is a problem with setuptools. The required package has lower apt priority. Needs manual intervention.
# manually, aptitude, say no until it proposes installing the right version
sudo aptitude install -y python3-setuptools=20.7.0-1
Alternatve: we had good result with just running this instead of the previous command.
sudo pip3 install setuptools --upgrade
Install Python 3.6+, pip3 and virtualenv through your favorite method.
Run the following command to create the Python virtual environment in the current directory:
virtualenv medusa
Activate the virtual environment:
source medusa/bin/activate
Then, install the python packages. It will take some time to build the Cassandra driver:
sudo pip3 install -r requirements.txt
sudo pip3 install -r requirements-test.txt
Finally, install Medusa from source:
sudo pip3 install git+https://[email protected]/spotify/medusa.git@branch --upgrade
```