- p.icon = {
- "debian": "",
- "diablo": "",
- "fremantle": "", # Fremantle natively uses 48x48
- }[distribution]
- p["/usr/bin"] = [ "" ]
- for relPath, files in unflatten_files(find_files(".")).iteritems():
- fullPath = ""
+ p.icon = "48x48-WatersOfShiloah.png"
+ p["/opt/WatersOfShiloah/bin"] = ["WatersOfShiloah.py"]
+ for relPath, files in unflatten_files(find_files("src", ".")).iteritems():
+ fullPath = "/opt/WatersOfShiloah/lib"
+ if relPath:
+ fullPath += os.sep+relPath
+ fileLocationTransforms = list(
+ "|".join((oldName, newName))
+ for (oldName, newName) in files
+ )
+ if not relPath:
+ fileLocationTransforms.append({
+ "debian": "src-stream_gst.py|stream.py",
+ "diablo": "src-stream_osso.py|stream.py",
+ "fremantle": "src-stream_gst.py|stream.py",
+ }[distribution])
+ p[fullPath] = fileLocationTransforms
+ for relPath, files in unflatten_files(find_files("data", ".")).iteritems():
+ fullPath = "/opt/WatersOfShiloah/share"