Develop on Windows

Tested on:

  • Windows 10 Professional - build 19041 (= version 2004)


Enable remote scripts (for virtual environment)

Open a Powershell prompt as administrator inside the repository folder:

# if not already done, enable scripts - required by virtualenv
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

Installation steps

Clone the repository

Clone the repository where you want using GitHub Desktop as graphical interface or a PowerShell terminal:

git clone
# or using ssh
git clone

Set up the virtual environment

# create a virtual env
py -3.10 -m venv .venv

# enable virtual env

# upgrade basic tooling
python -m pip install -U pip setuptools wheel

# install dependencies
python -m pip install -U -r requirements/development.txt

Install git hooks

pre-commit install

Install project

python -m pip install -e .

Try it with:

qgis-deployment-toolbelt --help

Happy coding!