summaryrefslogtreecommitdiffstats
path: root/Tools/bgen
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-04-12 16:39:00 (GMT)
committerGuido van Rossum <guido@python.org>1996-04-12 16:39:00 (GMT)
commitd544d0126d8c41afc5ba85f62a4ecba49c29ea30 (patch)
tree8c73e57f92bf95c6f0e755c8bb93284d7412c63d /Tools/bgen
parenteba88567a2700786362bb4abf7013b4139d0f100 (diff)
downloadcpython-d544d0126d8c41afc5ba85f62a4ecba49c29ea30.zip
cpython-d544d0126d8c41afc5ba85f62a4ecba49c29ea30.tar.gz
cpython-d544d0126d8c41afc5ba85f62a4ecba49c29ea30.tar.bz2
Moved customization to bgenlocations.py module.
Diffstat (limited to 'Tools/bgen')
-rw-r--r--Tools/bgen/bgen/bgenlocations.py12
-rw-r--r--Tools/bgen/bgen/scantools.py7
2 files changed, 13 insertions, 6 deletions
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"