[New-bugs-announce] [issue8476] build-installer fix for setIcon when no script path specified

David Bolen report at bugs.python.org
Wed Apr 21 00:57:42 CEST 2010

New submission from David Bolen <db3l.net at gmail.com>:

The attached suggested patch fixes a small bug where if you execute the build-installer script without an explicit path (e.g., "python build-installer.py") the setIcon compilation will fail since dirname(__file__) is an empty string, so it ends up looking for files beneath "/".

It also normalizes the function slightly, since part of the previous code explicitly used dirname(__file__) whereas part of the code just assumed the output directory was relative to the current directory.

assignee: ronaldoussoren
components: Macintosh
files: build-installer.diff
keywords: patch
messages: 103791
nosy: db3l, ronaldoussoren
severity: normal
status: open
title: build-installer fix for setIcon when no script path specified
type: compile error
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file17015/build-installer.diff

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list