> sci-chemistry/jmol. Now here I'm able to get Jmol to work from the
> notebook if I create either of the symlinks,
> 
>       site-packages/sagenb/data/jmol ->
> /usr/share/webapps/jmol/11.6.16/htdocs
> or
>       site-packages/sagenb/data/jmol -> /var/www/localhost/htdocs/jmol
> 
> There should be a better way to do this but I'm unable to find a way to
> get the sagenb package to access external data other than through a
> symlink. If the first of the above is done then a version bump of jmol
> will require a new sage-notebook install! There is also an "appletweb"
> directory that's present under sagenb/data/jmol and I was curious as to
> whether it's needed? Is it perhaps a carry-over from the older
> Sage-provided jmol stuff?
> 
A bit more details on this. First the cli it is enough to install jmol with
the flag client-only which just install the binary.
The next problem is that to get the web-applet we need either 
-client-only or vhost use flags. Which require the gentoo web-app 
framework. We don't want that. 
*sage uses twisted as its server, this is not supported by web-app.

We basically need a lot of the stuff that is provided for the web-app
without the requirements of the web-app framework.

I can say you have installed jmol as a web-app Steve. The stuff provided
in the appletweb folder could be provided by jmol. At first I was trying
to provide some stuff from jmol and keeping some stuff from sagenb.
This one has tough requirements.

Francois

Reply via email to