Setup

This application was built and tested on Python 3.9.

Installation

PyPi Distribution

Install the package with the Python package manager,

pip install scrilla

This will install a command line interface on your path under the name scrilla. Confirm your installation with with the version command,

scrilla version

If you are on Windows, you may need to add your Python scripts bin to the $PATH.

To keep the installation as minimal as possible, the base package does not include the GUI libraries. You can install the optional GUI with,

pip install scrilla[gui]

The GUI has a different CLI entrypoint, namely,

scrilla-gui

The GUI uses Pyside6 widgets, which is a Python wrapper around Qt. In other words, you will need a Qt library and a C++ compiler. On Debian based distributions, the following command will install all the necesary dependencies,

sudo apt-get install build-essential libgl1-mesa-dev qt6-base-dev

NOTE: The ‘qt6-base-dev is only available through Ubuntu 22.04 as of ths writing (6/20/22). For other distributions or versions, refer to the official Qt documentation.

Source

If you prefer, you can build from source. git clone the repository,

git clone https://github.com/chinchalinchin/scrilla.git

Then from the root directory install the project dependencies and build the library,

pip3 install -r requirements
python3 -m build

cd into the generated /dist/ to manually install the packaged code,

pip install scrilla-<major>.<minor>.<micro>-py3-none-any.whl