Various lyx code has "python" hardcoded.

It may be good to take advantage of the PYTHON setting.

Some systems do not have a "python" in the path, but may have python2.4 
for example.

Here is a list of files below.

Some of these python scripts are fine at the top sh-bang #! line, but 
later inside of same file that may call "python" again.

Since the autoconf ./configure knows what PYTHON is and sets it in the 
Makefiles, it should be honored.

config/py-compile  (probably OKAY since is in environment and this is not 
installed)

src/buffer.C
src/lyxtextclass.C

lib/doc/Makefile.am

lib/lyx2lyx/lyx2lyx
lib/scripts/listerrors

development/tools/generate_symbols_list.py
lib/doc/depend.py
lib/configure.py
lib/scripts/TeXFiles.py
lib/scripts/clean_dvi.py
lib/lyx2lyx/profiling.py
lib/scripts/fen2ascii.py
lib/scripts/layout2layout.py
lib/scripts/legacy_lyxpreview2ppm.py
lib/scripts/lyxpreview2bitmap.py
lib/scripts/lyxpreview_tools.py
lib/scripts/tex_copy.py


I can provide some patches.


Please CC me on replies.

Jeremy C. Reed

Reply via email to