- Timestamp:
- 01/19/05 11:42:11 (20 years ago)
- Location:
- pykoticon/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykoticon/trunk/bin/pykoticon
r75 r76 36 36 except ImportError : 37 37 raise ImportError, "Mark Hammond's Win32 Extensions are missing. Please install them." 38 else : 39 iconsdir = "." 38 40 else : 39 41 isWindows = 0 42 iconsdir = "/usr/share/pykoticon" # TODO : change this 40 43 import pwd 41 44 … … 285 288 self.tbicon = wxPython.wx.wxTaskBarIcon() 286 289 287 self.greenicon = wxPython.wx.wxIcon(os.path.join( "..", "icons", "pykoticon-green.ico"), \290 self.greenicon = wxPython.wx.wxIcon(os.path.join(iconsdir, "pykoticon-green.ico"), \ 288 291 wxPython.wx.wxBITMAP_TYPE_ICO) 289 self.redicon = wxPython.wx.wxIcon(os.path.join( "..", "icons", "pykoticon-red.ico"), \292 self.redicon = wxPython.wx.wxIcon(os.path.join(iconsdir, "pykoticon-red.ico"), \ 290 293 wxPython.wx.wxBITMAP_TYPE_ICO) 291 294 -
pykoticon/trunk/setup.py
r73 r76 34 34 sys.exit(-1) 35 35 else : 36 directory = os.sep.join(["share", "pykoticon"]) 36 37 withPy2EXE = 0 37 38 else : 39 directory = "." 38 40 withPy2EXE = 1 39 41 … … 48 50 windows=[os.path.join("bin", "pykoticon")], 49 51 scripts=[os.path.join("bin", "pykoticon")], 50 data_files=[( "icons", glob.glob(os.path.join("icons", "*.ico")))])52 data_files=[(directory, glob.glob(os.path.join("icons", "*.ico")))])