0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-06-30 22:19:29 -04:00

Remove inaccurate information from README.Python.

These parts of contrib/python/README.Python are not accurate for
ELinks 0.11.2.GIT:

- It suggests using --with-python=/usr/local, but configure.in treats
  that as equivalent to --without-python and contains a comment:

	# FIXME: If withval is a valid directory append it to PATH
	# so that you can specify one of several Python installations.

- It suggests creating a libpython.so symbolic link, but as of commit
  421d04093a265d0ce40296f28fc12e36a96ff046, the configure script no
  longer tries to link with a bare -lpython but rather always appends
  a version number.
This commit is contained in:
Kalle Olavi Niemitalo 2007-04-05 11:31:35 +03:00 committed by Kalle Olavi Niemitalo
parent be7f2ecda0
commit 854cc4b5fd

View File

@ -1,13 +1,5 @@
If you want to use Python scripting with ELinks add If you want to use Python scripting with ELinks add
--with-python to the configure invocation copy hooks.py to ~/.elinks --with-python to the configure invocation copy hooks.py to ~/.elinks
When your Python installation is your own build, you could give prefix
to the configure, eg.
--with-python=/usr/local when Python binary is placed in /usr/local/bin, etc.
When 'configure' cannot find -lpython make symbolic link to the appropriate
library, eg.
# cd /usr/local/lib
# ln -s libpython2.4.so.1.0 libpython.so
For the present hooks.py is not very usable. You are welcome to make it better. For the present hooks.py is not very usable. You are welcome to make it better.
Good Luck! Good Luck!