File tree Expand file tree Collapse file tree 2 files changed +11
-23
lines changed
Expand file tree Collapse file tree 2 files changed +11
-23
lines changed Original file line number Diff line number Diff line change 22
33Sur Ubuntu :
44
5- ``` bash
5+ ``` sh
66# create virtual environment linking to system packages (for pyqgis)
7- python3.8 -m venv .venv --system-site-packages
7+ python3 -m venv .venv --system-site-packages
88source .venv/bin/activate
99
1010# bump dependencies inside venv
1111python -m pip install -U pip setuptools wheel
1212python -m pip install -U -r requirements/development.txt
1313
14- # install project as editable
15- python -m pip install -e .
16- ```
17-
18- ## Gestion des traductions
19-
20- ``` bash
21- sudo apt install qttools5-dev-tools
22- ```
23-
24- Mise à jour des textes à traduire :
25-
26- ``` bash
27- pylupdate5 -noobsolete -verbose qtribu/resources/i18n/plugin_translation.pro
28- ```
29-
30- Une fois les traductions effectuées (dans Qlinguist par exemple), les compiler :
31-
32- ``` bash
33- lrelease qtribu/resources/i18n/* .ts
14+ # install git hooks (pre-commit)
15+ pre-commit install
3416```
Original file line number Diff line number Diff line change 55This plugin is using the [ qgis-plugin-ci] ( https://github.com/opengisch/qgis-plugin-ci/ ) tool to perform packaging operations.
66The package command is performing a ` git archive ` run based on changelog.
77
8- ``` bash
8+ Install additional dependencies:
9+
10+ ``` sh
11+ python -m pip install -U -r requirements/packaging.txt
12+ ```
13+
14+ ``` sh
915# package a specific version
1016qgis-plugin-ci package 1.3.1
1117# package latest version
You can’t perform that action at this time.
0 commit comments