|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Storing local code in a local repository? |
Date: | Thu, 03 Jun 2010 10:01:33 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Thunderbird/3.0.4 |
On 06/03/2010 03:20 AM, Rick Flower wrote:
Paolo, I've got some code that I'd like to pull into several different scripts that is common between them and would like to store them in a local directory somewhere and do not want to store them inside the installation tree that could (in theory) get nuked if someone thinks only 'release' files live there.. To that end, I'd like to tell the package loader to pull in my local code.. Is there an easy way to get this sort of behavior in gst? Thx!
You can put the packages in the image directory if you're using the default image in (/usr/local)/var/lib/smalltalk.
If not, something like the attached would work though. The directory would be /usr/(local/)share/smalltalk/site-packages. You can group the code into a .star file, or use a /usr/(local/)share/smalltalk/site-packages/packages.xml file.
Anybody else, any interest in having this patch in 3.2.1? It's small and harmless enough.
Thanks, Paolo
gst-site-packages.patch
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |