Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Add-on for zest.releaser for releasing qgis plugins

Project Description

qgispluginreleaser

Add-on for zest.releaser for releasing QGIS plugins.

Zest.releaser can be extended, see its entrypoints documentation.

What we do:

  • We hook into the “release” step and create a zipfile with a version number and copy it to the current directory. You can scp it to a server afterwards.
  • In the “prerelease” and “postrelease” steps we change the version number in the (mandatory) QGIS metadata.txt file.

Note: a QGIS plugin doesn’t have a setup.py, so you’ll need to add a version.txt or version.rst or VERSION file so that zest.releaser recognizes the current directory as a releasable project and so that it can find the version number somewhere. Simply put the version number (“1.2”) by itself on the first line. A newline at the end is fine.

Installation

You’ll have to install it globally (or in a custom virtualenv) as qgis plugins normally don’t have a full python setup.

The plugin checks whether there’s a metadata.txt (lowercase) with a qgisMinimumVersion string inside it. If found, the plugin runs. Otherwise it stays out of the way. So it should be safe to install globally.

Credits

  • Reinout van Rees started this library.

Changelog of qgispluginreleaser

1.0 (2017-06-20)

  • Use the codecs package in conjunction with “utf8” to read and write files.

0.2 (2016-02-01)

  • Qgis expects zip filenames to use a dot as name/version separator instead of a dash. We now create the zipfile with a dot instead.

0.1 (2016-01-19)

  • Initial project structure created with nensskel.
  • Changing versions in metadata.txt in the prerelease/postrelease step.
  • Creating a zipfile (with version number in the filename) automatically in the release step. Note that you must answer “yes” to the “checkout a tag?” question.
Release History

Release History

This version
History Node

1.0

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
qgispluginreleaser-1.0.tar.gz (18.8 kB) Copy SHA256 Checksum SHA256 Source Jun 20, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting