Hi,
I read that in 2021, teapot/teacup got removed from ActiveTcl 8.6. I’m surprised that such a convenient tool would get removed and am baffled by the rationale behind that move. Furthermore, it was mentioned on the ActiveTcl webpage that teapot became open-source (GitHub - ActiveState/teapot: Tcl TEApot), so I thought great! I would simply install separately from ActiveTcl, but the GitHub repo is very cryptic and does not provide end-user instructions in README.md for simply utilizing teapot to connect to a repo of packages and installing a package like tkdnd, which I need for a tcl/tk GUI I am building in Ruby (almost all the instructions I saw in the docs were mentioning setting up my own teapot server, which to an end-user is useless as that is more useful to providers of packages not to end-users)
All I want is to simply install packages from this index:
http://teapot.activestate.com/index
I was hoping it would be as easy as setting up a teacup command script in my path with that index URL and then having the ability to simply call teacup to install the packages I want like tkdnd to solve my problem.
Is there such a simple solution available? How do I obtain tkdnd in the simplest way possible without having to go and compile tkdnd myself?
It would be a shame if things took a step backward instead of forward towards the convenience of installing tcl/tk packages in general.
Thanks.
p.s. I am no Tcl expert (I mostly use Tk from Ruby).
When I try to run the teapot.tcl script from the cloned teapot repository, I get this error:
./app/teapot/teapot.tcl
can’t find package repository::capp
while executing
“package require repository::capp”
(file “./app/teapot/teapot.tcl” line 46)
I am on a MacOS Catalina