kicad2ems.ipc.install

The plugin folder KiCad loads (KiCad 9 and later): <KiCad's plugins
folder>/kicad2ems/. The repository's plugin/ folder is that folder, and the
Plugin and Content Manager installs the same files from its package
(tools/ipc/build_pcm.py):

  plugin.json          one action in the PCB editor's toolbar
  kicad2ems_plugin.py  the entry point: the window (kicad2ems.ipc.window)
  requirements.txt     what KiCad installs into the plugin's own Python
                       environment (kicad2ems, kicad-python, Qt)
  icon-24.png, icon-48.png

    python plugin/kicad2ems_plugin.py install [--kicad-version 10.0]
        [--dir FOLDER] [--exec]
    python plugin/kicad2ems_plugin.py uninstall

install copies the folder (runtime "python": KiCad builds the environment from
requirements.txt, as for a package from the Plugin and Content Manager). --exec
instead writes a plugin.json and a launcher that run this checkout's entry point
with this Python (runtime "exec"), for working on the plugin or using a
kicad2ems installed here (KiCad then builds no environment).

The plugins folder: <documents>/KiCad/<version>/plugins on Windows and macOS,
~/.local/share/kicad/<version>/plugins on Linux ($XDG_DATA_HOME). Without
--kicad-version: every KiCad 9 or later found there, else 10.0. KiCad reads it
at start (or Preferences > Plugins > Reload).
kicad2ems.ipc.install.kicad_base()[source]
KiCad's user data folder (the one that holds a folder per version).
kicad2ems.ipc.install.launcher(folder)[source]
--exec: the script KiCad runs, this Python on this checkout's entry
point. Returns its file name.
kicad2ems.ipc.install.plugin_json(runtime='python', entry='kicad2ems_plugin.py')[source]
plugin.json: runtime 'python' (plugin/plugin.json, the package's) or
'exec' (a launcher, --exec).
kicad2ems.ipc.install.versions(base=None)[source]
The KiCad versions (9.0 or later) with a user data folder.