5 # source file of the GNU LilyPond music typesetter
9 program_name
= 'template'
15 sys
.path
.append ('@abs-step-bindir@')
16 sys
.path
.append (os
.environ
['HOME'] + '/usr/src/lilypond/stepmake/bin')
25 return name
+ ' version ' + version
;
28 sys
.stdout
.write (program_id () + '\n')
31 sys
.stdout
.write ("Usage: %s [options] [files]\n"
32 "I'm not a program, use me as a template to create one\n\n"
34 + " -h, --help print this help\n"
40 (options
, files
) = getopt
.getopt (
41 sys
.argv
[1:], 'hp:', ['help', 'package'])
45 if o
== '--help' or o
== '-h':
47 elif o
== '-p' or o
== '--package':
53 sys
.path
.append (topdir
+ '/stepmake/bin')
54 from packagepython
import *
55 package
= Package (topdir
)
56 packager
= Packager ()