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
Make a symbolic link to Ignis sources#
Replace python3.12
with actual version of python.
rm -R venv/lib/python3.12/site-packages/ignis
ln -sf $(pwd)/ignis venv/lib/python3.12/site-packages/ignis