]> git.lyx.org Git - lyx.git/commitdiff
First step to support python 2(.7) and 3(.3+)
authorJosé Matos <jamatos@fep.up.pt>
Tue, 10 Mar 2015 13:55:59 +0000 (13:55 +0000)
committerJosé Matos <jamatos@fep.up.pt>
Tue, 10 Mar 2015 13:55:59 +0000 (13:55 +0000)
When the work is finished the moniker "work in progress" should be removed.

INSTALL
README
configure.ac

diff --git a/INSTALL b/INSTALL
index a3d4914b29be6e1a40f9f2ec974b7d632471c2c6..cc056ef924fc13ad474d79d26a2341af71dec5af 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -80,11 +80,11 @@ The two following programs should be available at configuration time:
     as. Otherwise, LyX will not be able to run a number of tests. Note
     that users can run these tests manually with Tools>Reconfigure.
 
-  o Python 2.4 or newer must be installed. Python is used for many
-    simple tasks that are executed by external scripts, such as the
-    automatic configuration step and the import of older LyX documents
-    with the lyx2lyx script (this script is called automatically when
-    opening a file). Python 3.0 or later is not supported.
+  o Python 2.7 must be installed. Python is used for many simple tasks
+    that are executed by external scripts, such as the automatic
+    configuration step and the import of older LyX documents with the
+    lyx2lyx script (this script is called automatically when opening a
+    file). Python 3 (3.3 or later) support is work in progress.
 
 
 Creating the Makefile
diff --git a/README b/README
index 4f13069d2f335ac1a0fc82504c8fce52fa43ea38..4eb5b621ef1014a6327f6fe6c121a0f05a6ced6e 100644 (file)
--- a/README
+++ b/README
@@ -33,10 +33,8 @@ What do I need to run LyX?
     A decent LaTeX2e installation (e.g. TeX Live for Linux, MikTeX for
     Windows).
 
-    Python 2.4 or later to convert old LyX files and for helper scripts.
-    Note 1: Python 2.4 or later is required due to the subprocess module.
-    Note 2: Python 2.6 or later is recommended on Windows.
-    Note 3: Python 3.0 or later is not supported.
+    Python 2.7 to convert old LyX files and for helper scripts.
+    Note: Python 3 (3.3 or later) support is work in progress.
 
 How does the LyX version scheme work?
 
index 5f5d562f79fc74e0b19b4dd84f9695fe4aed5aad..43bfb597c443f10a17766233707bc84f98e377d5 100644 (file)
@@ -63,7 +63,7 @@ for file in config/install-sh ; do
   chmod 755 ${srcdir}/${file}
 done
 
-AM_PATH_PYTHON(2.4.0,, :)
+AM_PATH_PYTHON(2.7.0,, :)
 AC_PROG_RANLIB
 
 ### Check for a C++ compiler