Install pip3 and development dependencies:
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
sudo pip3 install tox
Install a native toolchain to build extensions and other required tools:
sudo apt install python3-dev build-essential graphviz
Optionally, it is recommended to install the webdev package to run a
development web server from a local directory:
sudo pip3 install webdev
webdev .tox/doc/tmp/html
tox -e build
Output will be available at dist/.
ninjecto-<version>.tar.gz.ninjecto-<version>-py3-none-any.whlninjecto-<version>-cp36-cp36m-linux_x86_64.whlNote
The tags of the binary wheel will change depending on the interpreter and operating system you build the binary wheel on.
tox -e doc
Output documentation will be available at .tox/doc/tmp/html.
To view the documentation execute:
webdev .tox/doc/tmp/html
tox -e test
Results will be available at .tox/test/tmp/. To view the results
execute:
webdev .tox/test/tmp/
tests.xml.coverage.xml.htmlcov/index.html.