tigerx.blogg.se

Py installer
Py installer









py installer

Provider module and those not required can be commented out. One can also generate a alternate hook which literally lists every kivy Hidden kivy imports and excluded imports that can be passed on to Analysis. Those that are loaded when the app is run. Their documentation and pyinstaller_hooks for more When overwriting the hook, the latter one typically is not requiredĭoes not include any of the kivy providers. Only if PyInstaller doesn’t have the default hooks If the hook is not installed or to reduce app size some Package the gstreamer dlls manually with Tree() - see the example above)Īnd their dependencies. audio, video, spelling etc (you still need to PyInstaller includes a hook for kivy that by default adds all the core

py installer

getResource = getResource Overwriting the default hook ¶ Including/excluding video and audio and reducing app size ¶

py installer

cd TouchApp.ĭef getResource ( identifier, * args, ** kwargs ): if identifier = 'pygame_icon.tiff' : raise IOError () return _original_getResource ( identifier, * args, ** kwargs ) import pygame.pkgdata _original_getResource = pygame. For exampleĬreate a TouchApp folder and change to that directory with e.g. Open your command line shell and ensure that python is on the path (i.e.Ĭreate a folder into which the packaged app will be created. The touchtracer example is inĮxamples-path\\demo\\touchtracer and the main file is named main.py. We’ll just refer to the full path leading Installed to python\\share\\kivy-examples and when using the github sourceĬode installed as kivy\\examples. The location of the kivy examples is, when using the wheels, Packaging a simple app ¶įor this example, we’ll package the touchtracer example project and embedĪ custom icon. This section applies to PyInstaller (>= 3.1) that includes the kivy hooks.įollowing examples need to be slightly modified. PyInstaller 3.1+ ( pip install -upgrade pyinstaller). Latest Kivy (installed as described in Installation on Windows).

  • Common definitions for a Windows provider.
  • Auto Create Input Provider Config Entry for Available MT Hardware (linux only).
  • Native support for Multitouch devices on Linux, using libmtdev.
  • Native support of MultitouchSupport framework for MacBook (MaxOSX platform).
  • Native support of Wacom tablet from linuxwacom driver.
  • Native support for HID input from the linux kernel.
  • Compatibility module for Python 2.7 and >= 3.4.
  • Touch Tracer Line Drawing Demonstration.
  • Multistroke Recognition Database Demonstration.
  • Texture Wrapping and Coordinates Example.
  • Application example using build() + return.










  • Py installer