Browse Source

*** empty log message ***

Joe Shochet 25 years ago
parent
commit
8b678a38a5
2 changed files with 3 additions and 17 deletions
  1. 2 2
      direct/src/directscripts/python-mode.el
  2. 1 15
      direct/src/directscripts/runPythonEmacs

+ 2 - 2
direct/src/directscripts/python-mode.el

@@ -101,12 +101,12 @@ See the Python Mode home page for details:
   :group 'languages
   :group 'languages
   :prefix "py-")
   :prefix "py-")
 
 
-(defcustom py-python-command "python"
+(defcustom py-python-command "ppython"
   "*Shell command used to start Python interpreter."
   "*Shell command used to start Python interpreter."
   :type 'string
   :type 'string
   :group 'python)
   :group 'python)
 
 
-(defcustom pyd-python-command "python_d"
+(defcustom pyd-python-command "ppython -d"
   "*Shell command used to start Python interpreter."
   "*Shell command used to start Python interpreter."
   :type 'string
   :type 'string
   :group 'python)
   :group 'python)

+ 1 - 15
direct/src/directscripts/runPythonEmacs

@@ -1,20 +1,6 @@
 #! /bin/sh
 #! /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 
 # Lets also de-cygwinify the Project variables (so you can use file name 
 # completion)  This is hardcoded for the most popular trees
 # completion)  This is hardcoded for the most popular trees