=============
- Fix failure with ``romt serve`` when using the PyInstaller-built executable
(see https://github.com/drmikehenry/romt/issues/1). The implementation of
``romt serve`` is based on Python's ``http.serve`` module, which supports the
use of CGI scripts in the local ``cgi-bin/`` directory. In addition to
standard executables, ``http.serve`` also supports the use of simple Python
scripts in ``cgi-bin/``. This is accomplished by invoking the current Python
interpreter (recorded in ``sys.executable``) against the script file.
Unfortunately, PyInstaller doesn't expose the Python interpreter via
``sys.executable``; instead, PyInstaller sets this variable to be the path of
the generated executable.
To avoid the above problem, Romt no longer supports the use of simple ``*.py``
CGI scripts. Instead, only the following CGI executables are usable
(depending on platform):
- On Windows::
cgi-bin\git-http-backend.bat
cgi-bin\git-http-backend.exe
- On non-Windows::
cgi-bin/git-http-backend.sh
cgi-bin/git-http-backend
If these aren't found at startup, Romt will generate a platform-dependent
CGI script to invoke Git's HTTP backend. See README.rst for more details.