jivago.tools.generate_static_imports module

jivago.tools.generate_static_imports.generate_static_imports(root_app_module: str, outputfile: str)[source]

Create a .py file containing all usually automatically imported packages as import my.app.package statements. Suitable for bundling the JivagoApplication using PyInstaller.

Parameters:
  • root_app_module – Fully qualified import name for the app root.

  • outputfile – The output .py file.