module win_installer.win_innosetup_helper

Inheritance diagram of pymyinstall.win_installer.win_innosetup_helper

Short summary

module pymyinstall.win_installer.win_innosetup_helper

Functions to prepare a setup on Windows, use InnoSetup

source on GitHub

Classes

class

truncated documentation

InnoSetupException

Exception happening with InnoSetup

Functions

function

truncated documentation

find_innosetup

find InnoSetup executable

inno_install_kernels

install kernels for Jupyter notebooks

innosetup_replacements

run InnotSetup for a script

run_innosetup

run InnotSetup for a script

Documentation

Functions to prepare a setup on Windows, use InnoSetup

source on GitHub

exception pymyinstall.win_installer.win_innosetup_helper.InnoSetupException[source]

Bases: Exception

Exception happening with InnoSetup

source on GitHub

pymyinstall.win_installer.win_innosetup_helper.find_innosetup()[source]

find InnoSetup executable

Returns

executable

source on GitHub

pymyinstall.win_installer.win_innosetup_helper.inno_install_kernels(root, suffix)[source]

install kernels for Jupyter notebooks

Parameters
  • root – root folder

  • suffix – suffix

source on GitHub

pymyinstall.win_installer.win_innosetup_helper.innosetup_replacements(script=None, innosetup=None, replacements=None, log_script=None, temp_folder='.', fLOG=<built-in function print>)[source]

run InnotSetup for a script

Parameters
  • script – script to run, if None, use the default script assuming you want to build a Python Distribution

  • innosetup – location of InnoSetup (if None, use default location)

  • replacements – replace to make in the script (dictionary)

  • log_script – output logs to this file

  • temp_folder – where to copy the modified script

  • fLOG – logging function

Returns

new script

source on GitHub

pymyinstall.win_installer.win_innosetup_helper.run_innosetup(new_script, innosetup=None, log_script=None, temp_folder='.', fLOG=<built-in function print>)[source]

run InnotSetup for a script

Parameters
  • new_script – script to run

  • innosetup – location of InnoSetup (if None, use default location)

  • log_script – output logs to this file

  • temp_folder – where to copy the modified script

  • fLOG – logging function

Returns

output

source on GitHub