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):
Run
make
to buildscubainit
Run
./run_unit_tests.py
to run the unit testsRun
sudo python setup.py install
to install scubaRun
./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