X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fabc2ly.py;h=2693817e92c0722d1ffe42a4a5cc5ee802826181;hb=50544a7e764debe4a149220497c854ee0819d95c;hp=83dc1f79ae4d135b12b6c8b1d19a5be0a72d4ecd;hpb=f9214bac21e9926dc3248416f58190c98c4167a9;p=lilypond.git diff --git a/scripts/abc2ly.py b/scripts/abc2ly.py index 83dc1f79ae..2693817e92 100644 --- a/scripts/abc2ly.py +++ b/scripts/abc2ly.py @@ -5,7 +5,7 @@ # ... # # (not finished.) -# ABC standard v1.6: http://www.gre.ac.uk/~c.walshaw/abc2mtex/abc.txt +# ABC standard v1.6: http://www.walshaw.plus.com/abc/ # # Enhancements (Roy R. Rankin) # @@ -78,16 +78,9 @@ import os program_name = sys.argv[0] -for d in ['@lilypond_datadir@', - '@lilypond_libdir@']: - sys.path.insert (0, os.path.join (d, 'python')) - -# dynamic relocation, for GUB binaries. -bindir = os.path.abspath (os.path.split (sys.argv[0])[0]) -for p in ['share', 'lib']: - datadir = os.path.abspath (bindir + '/../%s/lilypond/current/python/' % p) - sys.path.insert (0, datadir) - +""" +@relocate-preamble@ +""" import lilylib as ly global _;_=ly._