My addon is constituted by two files scripts. when I push the 'Remove' button , one file stay on the addons folder.
How can I tell blender remove the two python files from the addons directory?
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.
Sign up to join this communityIn my __init__.py
file
I put this:
if "bpy" in locals():
import imp
imp.reload(myScript)
and everything works fine :)
__init__.py
, a click on Remove should delete the entire folder. $\endgroup$