New submission from David Bolen <db3l....@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue8476>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to