Icon directory detection is an ugly hack

Bug #327051 reported by James Vasile
Affects Status Importance Assigned to Milestone

Bug Description

We detect the icon directory with an ugly hack:

import __init__
module_path = str(__init__).split(' ')[-1].replace("'", '').replace('/__init__.pyc>','')
icon_dir = module_path+'/images'

First, we need to change setup.py to put the icons in the appropriate place. The modules directory isn't where icons should live. They end up in /usr/lib/python2.5/site-packages/Bkrpr/images, but I think they should really end up somewhere in /usr/share. And I have no idea where they should go on Windows.

Second, config.py should be able to find the icons wherever setup.py puts them.

Changed in bkrpr:
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers