~quickly-committers/quickly/trunk

« back to all changes in this revision

Viewing changes to data/templates/ubuntu-application/edit.py

  • Committer: Michael Terry
  • Date: 2011-04-27 16:46:43 UTC
  • mfrom: (615.1.1 quickly)
  • Revision ID: mike@mterry.name-20110427164643-4cpk8k6ebjz8xirc
merge mterry's branch to open 10.10 wrapper scripts correctly

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
if not configurationhandler.project_config:
57
57
    configurationhandler.loadConfig()
58
58
 
59
 
# add launcher which does not end with .py
60
 
# filelist.append('bin/' + configurationhandler.project_config['project'])
 
59
# add launcher which does not end with .py for older projects (pre-lib split)
 
60
project_name = configurationhandler.project_config['project']
 
61
libdir = os.path.join(templatetools.python_name(project_name) + '_lib')
 
62
if not os.path.exists(libdir):
 
63
    filelist.append('bin/' + configurationhandler.project_config['project'])
61
64
 
62
65
# add helpfile sources
63
66
filelist.extend(glob.glob('help/C/*.page'))