Gerhard G. Tooorges wrote:
Hello Han-Wen,
I work on Mac OS X 10.3.9.
Lilypond version 2.8.1-1 (vBuild from Fri Mar 31 01:38:24 2006).
try the attached patch,
--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com
*** musicxml2ly.py.~1.12.~ 2006-03-17 00:31:31.000000000 +0100
--- musicxml2ly.py 2006-04-05 11:53:20.000000000 +0200
***************
*** 23,28 ****
--- 23,36 ----
sys.path.insert (0, os.path.join (datadir, 'python'))
+ # dynamic relocation, for GUB binaries.
+ bindir = os.path.split (sys.argv[0])[0]
+
+ for prefix_component in ['share', 'lib']:
+ datadir = os.path.abspath (bindir + '/../%s/lilypond/current/python/' % prefix_component)
+ sys.path.insert (0, datadir)
+
+
import musicxml
import musicexp
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user