- Use a $PYTHON construction variable, initialized to sys.executable,
when using Python to build parts of the SCons packages.
+ - Use sys.prefix, not sys.exec_prefix, to find pdb.py.
+
RELEASE 0.07 - Thu, 2 May 2002 13:37:16 -0500
args = [ sys.executable, "pdb.py" ] + \
filter(lambda x: x != "--debug=pdb", sys.argv)
if sys.platform == 'win32':
- args[1] = os.path.join(sys.exec_prefix, "lib", "pdb.py")
+ args[1] = os.path.join(sys.prefix, "lib", "pdb.py")
sys.exit(os.spawnve(os.P_WAIT, args[0], args, os.environ))
else:
- args[1] = os.path.join(sys.exec_prefix,
+ args[1] = os.path.join(sys.prefix,
"lib",
"python" + sys.version[0:3],
"pdb.py")