7 __description__ = "A Touch Screen Optimized RPN Calculator using Pie Menus"
9 __email__ = "eopage@byu.net"
16 * Swapping the keyboard positions, seem more friendly to my thumb location this way
19 * Added +/-, !, sq, and sqrt functions
20 * Improved Documentation
21 * Copy of calculation result and the corresponding equation
25 * Experimenting with faster startup by including pyc files in package
26 * Minor tweaks and bug fixes
28 0.9.1 - "Laziness doesn't always pay off"
29 * Profiled the code with an especial focus on the pie menus
30 * Tried to reduce potential bugs with double clicks
31 * Fixed a visual artifact issue on popup
33 0.9.0 - "Feed is for horses, so what about feedback?"
34 * Initial public release
37 * Supports different number types and bases
42 __postinstall__ = '''#!/bin/sh
44 gtk-update-icon-cache /usr/share/icons/hicolor
49 for root, dirs, files in os.walk(path):
51 if file.startswith("src-"):
52 fileParts = file.split("-")
53 unused, relPathParts, newName = fileParts[0], fileParts[1:-1], fileParts[-1]
54 assert unused == "src"
55 relPath = os.sep.join(relPathParts)
56 yield relPath, file, newName
59 def unflatten_files(files):
61 for relPath, oldName, newName in files:
64 d[relPath].append((oldName, newName))
68 if __name__ == "__main__":
70 os.chdir(os.path.dirname(sys.argv[0]))
74 p = Py2deb(__appname__)
75 p.description = __description__
79 p.depends = "python2.5, python2.5-gtk2"
80 p.section = "user/accessories"
83 p.distribution = "chinook diablo"
84 p.repository = "extras-devel"
85 p.changelog = __changelog__
86 p.postinstall = __postinstall__
87 p.icon="26x26-ejpi.png"
88 p["/usr/bin"] = [ "ejpi.py" ]
89 for relPath, files in unflatten_files(find_files(".")).iteritems():
90 fullPath = "/usr/lib/ejpi"
92 fullPath += os.sep+relPath
94 "|".join((oldName, newName))
95 for (oldName, newName) in files
97 p["/usr/share/applications/hildon"] = ["ejpi.desktop"]
98 p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-ejpi.png|ejpi.png"]
99 p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-ejpi.png|ejpi.png"]
103 __version__, __build__, changelog=__changelog__,
104 tar=True, dsc=True, changes=True, build=False, src=True