code: def add_to_distribution(dist):
      
      try:
          dist.add_qt_bindings()
      except AttributeError:
          raise ImportError("This script requires guidata 1.5+")
      for _modname in ('spyder', 'spyderplugins'):
          dist.add_module_data_files(_modname, ("", ),
                                     ('.png', '.svg', '.html', '.png', '.txt',
                                      '.js', '.inv', '.ico', '.css', '.doctree',
                                      '.qm', '.py',),
                                     copy_to_root=False)
docs: Add package to py2exe/cx_Freeze distribution object
      Extension to guidata.disthelpers