← Back to team overview

kicad-developers team mailing list archive

[PATCH] Update python defaults

 

Python 2 is deprecated upstream, and most distributions are switching
to Python 3 as default, and ship wxPython Phoenix as the wxWidgets
binding for Python 3.
---
 CMakeLists.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a80e90bc8..24f8d5988 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,16 +69,16 @@ option( KICAD_SCRIPTING_MODULES
     ON )
 
 option( KICAD_SCRIPTING_PYTHON3
-    "Build for Python 3 instead of 2 (default OFF)."
-    OFF )
+    "Build for Python 3 instead of 2 (default ON)."
+    ON )
 
 option( KICAD_SCRIPTING_WXPYTHON
     "Build wxPython implementation for wx interface building in Python and py.shell (default ON)."
     ON )
 
 option( KICAD_SCRIPTING_WXPYTHON_PHOENIX
-    "Use new wxPython binding (default OFF)."
-    OFF )
+    "Use new wxPython binding (default ON)."
+    ON )
 
 option( KICAD_SCRIPTING_ACTION_MENU
     "Build a tools menu with registered python plugins: actions plugins (default ON)."

Follow ups