Setting up a Development Environment#

Clone repository#

git clone https://github.com/linkfrg/ignis.git
cd ignis

Update submodules#

git submodule update --init --recursive

Create Python Virtual Environment#

python -m venv venv

Activate Virtual Environment#

  • For Bash:

source venv/bin/activate
  • For Fish:

. venv/bin/activate.fish

Install dependencies to Virtual Environment#

Common dependencies:

pip install --upgrade -r requirements.txt

Development dependencies:

pip install --upgrade -r dev.txt

Build and Install Ignis to Virtual Environment#

meson setup build --prefix=$(pwd)/venv --libdir "lib/ignis"
meson compile -C build
meson install -C build