]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.0.1
authorfred <fred>
Tue, 30 Jun 1998 15:36:12 +0000 (15:36 +0000)
committerfred <fred>
Tue, 30 Jun 1998 15:36:12 +0000 (15:36 +0000)
buildscripts/localpackage.py [new file with mode: 0644]

diff --git a/buildscripts/localpackage.py b/buildscripts/localpackage.py
new file mode 100644 (file)
index 0000000..f37fc82
--- /dev/null
@@ -0,0 +1,16 @@
+# localpackage.py
+# must be included in package's python bin dir
+
+def localpackage (n):
+    p=lower (n)
+    P=upper (n)
+    if topdir == '':
+       try:
+           topdir = os.environ[P + '_SOURCEDIR']
+       except:
+           topdir = os.environ['HOME'] + '/usr/src/' + p
+    sys.path.append (topdir + '/stepmake/bin')
+    from packagepython import *
+    package = Package (topdir)
+    packager = Packager ()
+