Installation

The crux package can be installed with pip. For most application development it should be installed within a virtual environment.

With pipenv

Pipenv is a tool for managing Python virtual environments and dependancies.

On macOS is it recommened that you install Pipenv with Homebrew:

brew install pipenv

See the Pipenv installation instructions for other operating systems.

Once Pipenv is installed, change into the root of your application directory and run:

pipenv install "crux==0.0.16"

This will add a line to the [packages] section of your Pipfile, or create a new Pipfile if one doesn’t exist.

crux = "==0.0.16"

With venv and pip

Alternatively you can create a virtual environment with Python 3’s venv module and install crux with pip.

python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install "crux==0.0.16"
python3 -m pip freeze > requirements.txt