Skip to content
Permalink
Browse files

[processing] update script collection metadata and homogenize quotes

  • Loading branch information
alexbruy committed Jan 15, 2018
1 parent 7ecb053 commit 0ffd993d02c596ec626c517899938b48c6be08b8
Showing with 14 additions and 14 deletions.
  1. +14 −14 python/plugins/processing/script/CreateScriptCollectionPluginAction.py
@@ -35,30 +35,30 @@

pluginPath = os.path.split(os.path.dirname(__file__))[0]

initTemplate = '''from .plugin import ProcessingScriptCollectionPlugin
initTemplate = """from .plugin import ProcessingScriptCollectionPlugin
def classFactory(iface):
return ProcessingScriptCollectionPlugin()
'''
"""

metadataTemplate = '''[general]
metadataTemplate = """[general]
name=$name$
description=$description$
category=Analysis
category=Plugins
version=1.0
qgisMinimumVersion=2.0
qgisMinimumVersion=3.0
author=$author$
email=$email$
tags=analysis,processing
tags=processing,analysis
homepage=http://qgis.org
tracker=https://issues.qgis.org/projects/QGIS/issues
repository=https://github.com/qgis/QGIS
'''
homepage=
tracker=
repository=
"""

pluginTemplate = '''import os
pluginTemplate = """import os
from processing.core.Processing import Processing
@@ -69,14 +69,14 @@ def initGui(self):
def unload(self):
Processing.removeScripts(os.path.join(os.path.dirname(__file__), "scripts"))
'''
"""


class CreateScriptCollectionPluginAction(ToolboxAction):

def __init__(self):
self.name, self.i18n_name = self.trAction('Create script collection plugin')
self.group, self.i18n_group = self.trAction('Tools')
self.name, self.i18n_name = self.trAction("Create script collection plugin")
self.group, self.i18n_group = self.trAction("Tools")

def getIcon(self):
return QgsApplication.getThemeIcon("/processingScript.svg")

0 comments on commit 0ffd993

Please sign in to comment.
You can’t perform that action at this time.