how to make an addon that can install from zip

i am making an addon that has custom icons

ok so you nead to name the file “init.py” with 2x “_” on each side but now i get an error with “bpy.context.space_data.text.filepath”

Maybe this note helps you