Installation

Install via pip

Scuba is hosted at PyPI, and installation via pip is the perferred method.

To install:

$ sudo pip install scuba

To install with argcomplete (for Bash Completion support):

$ sudo pip install scuba[argcomplete]

To uninstall:

$ sudo pip uninstall scuba

Install from source

Scuba can be built from source on Linux only (due to the fact that scubainit must be compiled):

  1. Run make to build scubainit

  2. Run ./run_unit_tests.py to run the unit tests

  3. Run sudo python setup.py install to install scuba

  4. Run ./run_full_tests.py to test the installed version of scuba

If musl-libc is installed, it can be used to reduce the size of scubainit, by overriding the CC environment variable in step 1:

CC=/usr/local/musl/bin/musl-gcc make

Note

Note that installing from source in this manner can lead to an installation with increased startup times for Scbua. See #71 for more details. This can be remedied by forcing a wheel to be installed, as such:

export CC=/usr/local/musl/bin/musl-gcc    # (optional)
sudo pip install wheel
python setup.py bdist_wheel
sudo pip install dist/scuba-<version>-py3-none-any.whl