Make it possible to use the cgi script without installing a web

server.

* wrap/python/cgi-bin/ltl2tgba.in: Starts a web server if the
script is not called as a CGI.  Arrange to load libraries from
the build directory.  Create the spotimg/ if needed when run as
a web server.
* wrap/python/cgi-bin/Makefile.am: Adjust build rule and clean
the spotimg directory.
* wrap/python/cgi-bin/README, NEWS: Update.
This commit is contained in:
Alexandre Duret-Lutz 2010-01-30 14:15:03 +01:00
parent 24cde3c21f
commit 4efde0d3d3
5 changed files with 85 additions and 12 deletions

2
NEWS
View file

@ -34,6 +34,8 @@ New in spot 0.5 (2010-01-31):
* ltl2tgba has gained several options and the help text has been
reorganized. Please run src/tgbatest/ltl2tgba without arguments
for details. Couvreur/FM is now the default translation.
* The ltl2tgba.py CGI script can now run standalone. It also offers
the Tauriainen/TAA translation.
* Automata using BDD-encoded transitions relation can now be pruned
for useless states symbolically using the delete_unaccepting_scc()
function. This is ltl2tgba's -R3b option.