g-sherman / plugin_build_tool

Python command line tool for compiling and deploying QGIS plugins
GNU General Public License v2.0
38 stars 18 forks source link

zip or 7z not found #24

Closed underwhelmingToaster closed 2 years ago

underwhelmingToaster commented 2 years ago

Whenever i run pbt zip, i get the following error: zip or 7z not found. Unable to package the plugin Check your path or install a zip program I reinstalled 7zip, but it is still not working. Are there problems with my path variable?

Plugin Builder 2.6.0

System Specs: Microsoft Windows 10 Pro Version 10.0.19043 Build 19043

underwhelmingToaster commented 2 years ago

So I checked the corresponding code for the zip function, and it seems that the 7zip directory needs to be in the path variables. I added this, as the current 7zip installer does not do this. I think there should at least be an option to pass the path to 7zip with the zip command.