diff options
author | Timothy Pearson <[email protected]> | 2011-12-05 00:17:19 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-05 00:17:19 -0600 |
commit | d070aee4c277d331e54b81ac2881977a8d8cb7c0 (patch) | |
tree | 81fc5f857e6f4eafafd48f2ae70a787e02d10c5d /examples/pykde-sampler/about.py | |
parent | 01bd7e2ffdc3caa95228e03ad501d778b05270a9 (diff) | |
download | pytde-d070aee4c277d331e54b81ac2881977a8d8cb7c0.tar.gz pytde-d070aee4c277d331e54b81ac2881977a8d8cb7c0.zip |
Finish pykde to pytde rename
Diffstat (limited to 'examples/pykde-sampler/about.py')
-rw-r--r-- | examples/pykde-sampler/about.py | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/examples/pykde-sampler/about.py b/examples/pykde-sampler/about.py deleted file mode 100644 index 108194b..0000000 --- a/examples/pykde-sampler/about.py +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/env python -""" About the PyKDE Sampler - -Defines the 'about' function to create a KAboutData instance for the -sampler application. -""" -from os.path import dirname, join -from tdecore import KAboutData - - -appName = 'pytdesampler' -progName = 'PyKDE Sampler' -authorName = 'Troy Melhase' -authorEmail = bugsEmailAddress = '[email protected]' -version = '0.1' -shortDescription = 'The PyKDE Sampler' -licenseType = KAboutData.License_GPL_V2 -copyrightStatement = '(c) 2006, %s' % (authorName, ) -homePageAddress = 'http://www.riverbankcomputing.co.uk/pytde/' -aboutText = ("The application sampler for PyKDE.") -contributors = [] # module-level global for keeping the strings around; intentional - - -def about(): - """ creates KAboutData instance for the app - - """ - about = KAboutData( - appName, - progName, - version, - shortDescription, - licenseType, - copyrightStatement, - aboutText, - homePageAddress, - bugsEmailAddress) - about.addAuthor(authorName, '', authorEmail) - - try: - contrib = open(join(dirname(__file__), 'contributors.txt')) - contrib = [line.strip() for line in contrib] - contrib = [line for line in contrib if not line.startswith('#')] - for line in contrib: - try: - name, task, addr = [s.strip() for s in line.split(',')] - contributors.append((name, task, addr)) - except: - pass - except: - pass - - contributors.sort(lambda a, b:cmp(a[0], b[0])) - for name, task, addr in contributors: - about.addCredit(name, task, addr) - - return about |