Looking at the Makefile
seems pretty easy:
- First you need to make sure you have
python
and make
installed. You can check by running python3 --version
and make --version
. If you get an error on either of the commands you need to install it.
- Clone the repo if you haven't done it already.
git clone https://github.com/brandizzi/input-device-indicator.git
cd input-device-indicator
- Create a virtual environment to build the app (unless you want to install the dependencies on your system).
python3 -m venv app-build
PS: You might need to install python3.10-venv
package.
apt install python3.10-venv
- Activate the virtual environment.
source app-build/bin/activate
- Install the dependencies.
pip install -r requirements.txt
pip install -r requirements-dev.txt
Note that you might need to remove the 1st line from the requirements.txt
file or just run the following command if you get an error while trying to install it:
cat requirements.txt | tail -n +2 | xargs -n1 pip install
- Install the app on your system.
make install_local
Note that on my Ubuntu VM i had to install a few extra packages that were required. I'll leave a command to install them too if you get any errors.
apt install python3-all debhelper dh-python