[plt-scheme] 'addons-dir and collections

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Aug 26 12:43:45 EDT 2003

At Mon, 25 Aug 2003 16:37:00 -0400 (EDT), Doug Orleans wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 
> Matthew Flatt writes:
>  >  * Changed Setup PLT to install PLT-relative ".plt" archives (which
>  >    typically contain a collection) into
>  > 
>  >      (build-path (find-system-path 'addons-dir) (version))
>  > 
>  >    In other words, installing a ".plt" file now tends to writes to a
>  >    user-specific directory.
> 
> What does "PLT-relative" mean?

When a .plt file is created, it's created as either relative (depends
where it's unpacked), plt-relataive (goes into the add-ons directory),
or plthome-reletaive (goes into the installation directory).

> Also, if it puts the version number in the path name, does
> that mean all .plt files need to be reinstalled when the user upgrades 
> to a new version of PLT Scheme?  

Yes. (Most things have to be patched here and there for a new version
anyway.)

> Or will this happen automatically?

Hopefull soon...

> What's the best way to distribute a collection?  Make a .plt file and
> tell people to download it and run setup-plt?

Yes, or just open the file in DrScheme.

> Do they need to put it in $PLTHOME first?

No.

Matthew



Posted on the users mailing list.