<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
I spent some time on Friday trying to upload qgis-epanet in the
plugin repository.<br>
<br>
The doc (<a class="moz-txt-link-freetext"
href="http://www.qgis.org/en/docs/pyqgis_developer_cookbook/releasing.html#official-pyqgis-repository-validation">http://www.qgis.org/en/docs/pyqgis_developer_cookbook/releasing.html#official-pyqgis-repository-validation</a>)
says that<br>
<blockquote>'the name of the main folder containing your plugin
must contain only contains ASCII characters (A-Z and a-z),
digits and the characters underscore (_) <b>and minus (-)</b>,
also it cannot start with a digit'<br>
</blockquote>
And it was also reminded to me when the Upload of the plugin
failed (plugin is broken)<br>
<br>
I created a local plugin repo for testing the two (attached)
minimal plugins.<br>
<br>
When installing the plugin with a minus '-' in the directory name,
there is a problem
(python/pyplugin_installer/installer_data.py:620) on:<br>
<blockquote>exec "import %s" % key in globals(), locals()<br>
</blockquote>
Plugin manager simply reports 'python said: invalid syntax' which
is not very helpful.<br>
<br>
Note that the error only occurs when installing the plugin from
PluginManager, if you unzip under $HOME/.qgis2/python/plugins, and
open qgis, both plugins load without error.<br>
<br>
Am I missing something obvious ?<br>
<br>
<br>
<br>
<br>
</div>
</body>
</html>