From 8b678a38a52650bcedfd75c7a354279c1b8196f2 Mon Sep 17 00:00:00 2001 From: Joe Shochet Date: Mon, 23 Oct 2000 21:31:20 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/directscripts/python-mode.el | 4 ++-- direct/src/directscripts/runPythonEmacs | 16 +--------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/direct/src/directscripts/python-mode.el b/direct/src/directscripts/python-mode.el index 0b1a495a58..b52aa1ba4a 100644 --- a/direct/src/directscripts/python-mode.el +++ b/direct/src/directscripts/python-mode.el @@ -101,12 +101,12 @@ See the Python Mode home page for details: :group 'languages :prefix "py-") -(defcustom py-python-command "python" +(defcustom py-python-command "ppython" "*Shell command used to start Python interpreter." :type 'string :group 'python) -(defcustom pyd-python-command "python_d" +(defcustom pyd-python-command "ppython -d" "*Shell command used to start Python interpreter." :type 'string :group 'python) diff --git a/direct/src/directscripts/runPythonEmacs b/direct/src/directscripts/runPythonEmacs index 7777fa972e..e78668f71c 100755 --- a/direct/src/directscripts/runPythonEmacs +++ b/direct/src/directscripts/runPythonEmacs @@ -1,20 +1,6 @@ #! /bin/sh -# Under Windows/Cygwin, we have to de-cygwinify the semicolon -# separated PYTHONPATH - -# First, initialize the new path -NEWPYTHONPATH= - -# To iterate, temporarily change the semicolons into spaces -for path in `echo $PYTHONPATH | sed 'y/;/ /'`; do - # Then for each entry run it through the cygwin filter - NEWPYTHONPATH=$NEWPYTHONPATH\;`cygpath -w $path` -done - -# Export the new PYTHONPATH -PYTHONPATH=$NEWPYTHONPATH -export PYTHONPATH +# Note: De-cygwin-ifying the PYTHONPATH is now the job of ppython # Lets also de-cygwinify the Project variables (so you can use file name # completion) This is hardcoded for the most popular trees