<div dir="ltr"><div>Awesome that worked perfectly thank you!<br></div><div><br></div><div>I had actually pulled the .py files up into the top level directory to solve that problem you identify while I was trying to get things running but obviously that is not the right solution long term. <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 21, 2023 at 10:14 AM Jacky Volpes via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<font face="Ubuntu">Hi,<br>
<br>
I recommend that you clone the repository somewhere else on your
computer, and add the path in QGIS settings, in the System >
Environment variable section, in QGIS_PLUGINPATH (see capture
below).<br>
<br>
This way you will always be able to put the correct path to the
plugin.<br>
<br>
Because here for instance with <a href="https://github.com/tarot231/qgis-project-packager-plugin" target="_blank">this
plugin</a>, if you want your method to work, you should put
"ProjectPackager" </font><font face="Ubuntu">directory in
C:\...AppData...\python\plugins\, which is one level inside the
cloned repo.<br>
(i.e. the plugin directory is the directory where the metadata.txt
file is, and not the whole directory from the repo).<br>
<br>
I also recommend the use of the plugin "Plugin Reloader", so that
you can reload your python files without quiting/lauching QGIS
each time (or deactivating/reactivating the plugin).<br>
<br>
</font><br>
<img src="cid:18704a91422e1039dd31" alt=""><br>
<br>
Regards,<br>
<br>
Jacky Volpes<br>
Oslandia<br>
<br>
<br>
<br>
<div>Le 21/03/2023 à 14:57, Hugh Kelley via
QGIS-Developer a écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>could anyone share instructions for installing a plugin
from the source code on github instead of the plugin manager
and subsequently making changes and running the plugin to see
the difference?</div>
<div><br>
</div>
<div>I've tried cloning the repo to:</div>
<div>C:\Users\hkelley\AppData\Roaming\QGIS\QGIS3\profiles\project-packager_dev\python\plugins\qgis-project-packager-plugin</div>
<div>and moved some things around to copy the set up of other
installed plugins. <br>
</div>
<div><br>
</div>
<div>The plugin appears in the "installed" list but doesn't
work. <br>
</div>
<div><br>
</div>
<div>Maybe I need to compile it? but I would have thought for a
python only plugin that wouldn't be necessary. <br>
</div>
<div><br>
</div>
<div>I've also separately followed the instructions for building
a plugin from scratch using plug in builder and plugin
reloader. It's not clear to me how I would apply those steps
to working with an existing plugin.</div>
<div><br>
</div>
<div>thanks for any guidance.</div>
<div><br>
</div>
Hugh<br>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
QGIS-Developer mailing list
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
</blockquote>
<br>
<pre cols="72">--
Jacky Volpes
Ingénieur SIG - Oslandia</pre>
</div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><br clear="all"><br><span>-- </span><br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Hugh Kelley <br><div><br></div></div></div></div></div></div></div></div>