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
- Parameters
install_dir (string) – install directory path
zip_filename (string) – zip file path
-
thyrsis.package.
modify_confpy
(loc)¶ Configure local language for documentation
- Parameters
loc (string) – local
-
thyrsis.package.
uninstall
(install_dir)¶ Uninstall Thyrsis plugin directory
- Parameters
install_dir (string) – install directory path
-
thyrsis.package.
zip_
(zip_filename)¶ Zip Thyrsis, the zip file doesn’t include tests, demos or doc
- Parameters
zip_filename (string) – zip file path