-verbose_p = 0
-
-# temp_dir = os.path.join (original_dir, '%s.dir' % program_name)
-# original_dir = os.getcwd ()
-# keep_temp_dir_p = 0
-
-
-help_summary = _ ("Convert MIDI to LilyPond source.")
-
-option_definitions = [
- ('', 'a', 'absolute-pitches', _ ("print absolute pitches")),
- (_ ("DUR"), 'd', 'duration-quant', _ ("quantise note durations on DUR")),
- ('', 'e', 'explicit-durations', _ ("print explicit durations")),
- ('', 'h', 'help', _ ("print this help")),
- (_ ("ALT[:MINOR]"), 'k', 'key', _ ("set key: ALT=+sharps|-flats; MINOR=1")),
- (_ ("FILE"), 'o', 'output', _ ("write output to FILE")),
- (_ ("DUR"), 's', 'start-quant', _ ("quantise note starts on DUR")),
- (_ ("DUR*NUM/DEN"), 't', 'allow-tuplet', _ ("allow tuplet durations DUR*NUM/DEN")),
- ('', 'V', 'verbose', _ ("be verbose")),
- ('', 'v', 'version', _ ("print version number")),
- ('', 'w', 'warranty', _ ("show warranty and copyright")),
- ('', 'x', 'text-lyrics', _ ("treat every text as a lyric")),
- ]
-
-################################################################
-# lilylib.py -- options and stuff
-#
-# source file of the GNU LilyPond music typesetter
-
-import os
-
-try:
- import gettext
- gettext.bindtextdomain ('lilypond', localedir)
- gettext.textdomain ('lilypond')
- _ = gettext.gettext
-except:
- def _ (s):
- return s
-
-if program_version == '@' + 'TOPLEVEL_VERSION' + '@':
- program_version = '1.5.17'