3.1.2.6. thyrsis.package module

packaging script for the thyrsis project

USAGE

package.py [-h, -i, -u] [directory],

OPTIONS
-h, --help

print this help

-i, –install [directory]

install the package in the .qgis2 directory, if directory is ommited, install in the QGis plugin directory

-u, --uninstall

uninstall (remove) the package from .qgis2 directory

-d, --no-doc

ignore the documentation build

-t, --no-translation

ignore locale building of the plugin

--local

define the documentation language, value : “en” or “fr”

thyrsis.package.get_qgis_plugin_dir()
thyrsis.package.install(install_dir, zip_filename)

Install Thyrsis

Paramètres
  • install_dir (string) – install directory path

  • zip_filename (string) – zip file path

thyrsis.package.modify_confpy(loc)

Configure local language for documentation

Paramètres

loc (string) – local

thyrsis.package.uninstall(install_dir)

Uninstall Thyrsis plugin directory

Paramètres

install_dir (string) – install directory path

thyrsis.package.zip_(zip_filename)

Zip Thyrsis, the zip file doesn’t include tests, demos or doc

Paramètres

zip_filename (string) – zip file path