home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyo (Python 2.6)
-
- from buildutil.buildfileutils import run
- from buildutil.promptlib import prompt
-
- def Authenticode(exe):
- print '*** signing executable %r ***' % exe
-
- try:
- run([
- 'signtool',
- 'sign',
- '/a',
- '/t',
- 'http://timestamp.verisign.com/scripts/timstamp.dll',
- str(exe)])
- except Exception:
- e = None
- print '\t\tError signing executable %r: %r' % (exe, e)
- keep_going = prompt('Continue?', bool, False)
- if not keep_going:
- raise e
- keep_going
-
- print '*** signed %r ***' % exe
-
-