7 __description__ = "RPN Calculator"
9 __email__ = "eopage@byu.net"
13 0.9.1 - "Laziness doesn't always pay off"
14 * Profiled the code with an especial focus on the pie menus
15 * Tried to reduce potential bugs with double clicks
16 * Fixed a visual artifact issue on popup
18 0.9.0 - "Feed is for horses, so what about feedback?"
19 * Initial public release
22 * Supports different number types and bases
27 __postinstall__ = '''#!/bin/sh
29 gtk-update-icon-cache /usr/share/icons/hicolor
34 for root, dirs, files in os.walk(path):
36 if file.startswith("src-"):
37 fileParts = file.split("-")
38 unused, relPathParts, newName = fileParts[0], fileParts[1:-1], fileParts[-1]
39 assert unused == "src"
40 relPath = os.sep.join(relPathParts)
41 yield relPath, file, newName
44 def unflatten_files(files):
46 for relPath, oldName, newName in files:
49 d[relPath].append((oldName, newName))
53 if __name__ == "__main__":
55 os.chdir(os.path.dirname(sys.argv[0]))
59 p = Py2deb(__appname__)
60 p.description = __description__
64 p.depends = "python2.5, python2.5-gtk2"
65 # p.section = "user/utilities"
66 p.section = "user/accessories"
69 p.distribution = "chinook diablo"
70 p.repository = "extras-devel"
71 p.changelog = __changelog__
72 p.postinstall = __postinstall__
73 p.icon="26x26-ejpi.png"
74 p["/usr/bin"] = [ "ejpi.py" ]
75 for relPath, files in unflatten_files(find_files(".")).iteritems():
76 fullPath = "/usr/lib/ejpi"
78 fullPath += os.sep+relPath
80 "|".join((oldName, newName))
81 for (oldName, newName) in files
83 p["/usr/share/applications/hildon"] = ["ejpi.desktop"]
84 # p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-dialcentral.png|dialcentral.png"]
85 # p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-dialcentral.png|dialcentral.png"]
86 # p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-dialcentral.png|dialcentral.png"]
90 __version__, __build__, changelog=__changelog__,
91 tar=True, dsc=True, changes=True, build=False, src=True