From: drscrypt on
Is it possible to update the teapot with a local file? Specifically, I
would like to update a tcllib package (mime) with a modified version of
itself? Teacup doesn't seem to have that option.


DrS

From: Andreas Kupries on
drscrypt(a)gmail.com writes:

> Is it possible to update the teapot

Which teapot ? The one at ActiveState ?
Or the teapot in your local installation ?

> with a local file? Specifically, I
> would like to update a tcllib package (mime) with a modified version
> of itself? Teacup doesn't seem to have that option.

If it is the latter, you can

teacup install /path/to/teabagarchive.

The teabag archive either has to be a Tcl Module (i.e. paqckage in a
single .tcl file) with appropriate meta data embedded in the file (*),
or a zip archive with the meta data (*).

It might be useful to run

teacup get --at-default <spec-of-your-package>

to get the currently installed package, which will be a proper
teabagarchive, and then to modify this before installing it back.

For the exact syntax of the commands I mentioned see

teacup help install
and teacup help get

Or use 'teacup help' as the general entry point into the command line
help of the tool.


(*) http://docs.activestate.com/activetcl/8.5/tpm/tpm/files/CTP_metadata.html#section1

--
So long,
Andreas Kupries <akupries(a)shaw.ca>
<http://www.purl.org/NET/akupries/>
Developer @ <http://www.activestate.com/>
-------------------------------------------------------------------------------