Remove some parameters from Freezer

#67 Merged at 6e0c27e
Repository
takluyver
Branch
initscript_reworking
Repository
anthony_tuininga
Branch
default
Author
  1. Thomas Kluyver
Reviewers
Description

These parameters were duplicated between Freezer and Executable. They make sense on Executable, so I've removed them from Freezer, and simplified the code.

The most complex was initScript, because the init script was given a single hardcoded name in the zip file, cx_Freeze__init__.pyc. I've changed this to use {name}__init__.pyc, akin to {name}__main__.pyc, so multiple executables with a common set of libraries can have different init scripts.

Comments (2)

  1. Thomas Kluyver author

    OK, as requested, I have reverted the changes to the C code, so frozen executables will be completely broken (failing to find their initscript) until Common.c is fixed.

    1. Anthony Tuininga repo owner

      Thanks. I have merged the changes that should be needed for Common.c. I have not tested Windows yet (I also don't have Windows at home) but will do that testing next week when I am back at work.