]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
First version which runs an install-script (specified by the
authorThomas Heller <theller@ctypes.org>
Wed, 20 Feb 2002 08:01:19 +0000 (08:01 +0000)
committerThomas Heller <theller@ctypes.org>
Wed, 20 Feb 2002 08:01:19 +0000 (08:01 +0000)
commitd2d58e04963cc3510971831f2e5f167ede7aaf43
treea7705d86240974e8cbffaad4135799d62a02f43b
parent8371e840d2a8226e92a24566072b9baf6e753bce
First version which runs an install-script (specified by the
--install-script ... command line option to bdist_wininst) at the end
of the installation and at the start of deinstallation.  Output
(stdout, stderr) of the script (if any) is displayed in the last
screen at installation, or in a simple message box at deinstallation.

sys.argv[1] for the script will contain '-install' at installation
time or '-remove' at deinstallation time.

The installation script runs in an environment (embedded by the
bdist_wininst runtime) where an additional function is available as
builtin:

create_shortcut(path, description, filename,
        [arguments[, workdir[, iconpath, iconindex]]])

Recreated this file after source changes.
Lib/distutils/command/bdist_wininst.py