summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/scrap
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-05 15:39:30 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-08-05 15:39:30 (GMT)
commitaaebdd6a02dd4d650b14e2192e327336ecb62a98 (patch)
tree4afe45b89281ab71ca8d2f66265adc4a09dd5544 /Mac/Modules/scrap
parentff8dec7427ac1084ea375bbf904e365138b69aae (diff)
downloadcpython-aaebdd6a02dd4d650b14e2192e327336ecb62a98.zip
cpython-aaebdd6a02dd4d650b14e2192e327336ecb62a98.tar.gz
cpython-aaebdd6a02dd4d650b14e2192e327336ecb62a98.tar.bz2
Enable building of Carbon toolbox modules with unix-Python.
Diffstat (limited to 'Mac/Modules/scrap')
-rw-r--r--Mac/Modules/scrap/scrapscan.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Mac/Modules/scrap/scrapscan.py b/Mac/Modules/scrap/scrapscan.py
index 6227446..dbb083b 100644
--- a/Mac/Modules/scrap/scrapscan.py
+++ b/Mac/Modules/scrap/scrapscan.py
@@ -5,13 +5,9 @@
import sys
import os
-if os.sep == ':':
- BGENDIR=os.path.join(sys.prefix, ':Tools:bgen:bgen')
-else:
- BGENDIR="../../../Tools/bgen/bgen"
+from bgenlocations import TOOLBOXDIR, BGENDIR
sys.path.append(BGENDIR)
from scantools import Scanner
-from bgenlocations import TOOLBOXDIR
LONG = "Scrap"
SHORT = "scrap"