From d544d0126d8c41afc5ba85f62a4ecba49c29ea30 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 12 Apr 1996 16:39:00 +0000 Subject: Moved customization to bgenlocations.py module. --- Tools/bgen/bgen/bgenlocations.py | 12 ++++++++++++ Tools/bgen/bgen/scantools.py | 7 +------ 2 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 Tools/bgen/bgen/bgenlocations.py diff --git a/Tools/bgen/bgen/bgenlocations.py b/Tools/bgen/bgen/bgenlocations.py new file mode 100644 index 0000000..3ec9c05 --- /dev/null +++ b/Tools/bgen/bgen/bgenlocations.py @@ -0,0 +1,12 @@ +# +# Local customizations +# + +# Where to find the Universal Header include files: +INCLUDEDIR="Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:" + +# Where to put the python definitions file: +TOOLBOXDIR="Moes:Development:Jack:Python 1.3:Mac:Lib:toolbox:" + +# Creator for C files: +CREATOR="CWIE" diff --git a/Tools/bgen/bgen/scantools.py b/Tools/bgen/bgen/scantools.py index baed1d9..ec5c733 100644 --- a/Tools/bgen/bgen/scantools.py +++ b/Tools/bgen/bgen/scantools.py @@ -26,12 +26,7 @@ try: except ImportError: MacOS = None -# Default preferences -#CREATOR = 'KAHL' # Guido's favorite text editor on the Mac -#INCLUDEDIR = "D:Development:THINK C:Mac #includes:Apple #includes:" -CREATOR = 'CWIE' # Jack's favorite text editor on the Mac -INCLUDEDIR = "Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:" - +from bgenlocations import CREATOR, INCLUDEDIR Error = "scantools.Error" -- cgit v0.12