Kaydet (Commit) 84b7f0cd authored tarafından Thomas Heller's avatar Thomas Heller

Merged revisions 63670 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63670 | thomas.heller | 2008-05-26 13:42:40 +0200 (Mo, 26 Mai 2008) | 4 lines

  On Windows, we must build a debug version iff running a debug build of
  Python
........
üst 38eceaaf
......@@ -28,6 +28,10 @@ class BuildExtTestCase(unittest.TestCase):
dist = Distribution({'name': 'xx', 'ext_modules': [xx_ext]})
dist.package_dir = self.tmp_dir
cmd = build_ext(dist)
if os.name == "nt":
# On Windows, we must build a debug version iff running
# a debug build of Python
cmd.debug = sys.executable.endswith("_d.exe")
cmd.build_lib = self.tmp_dir
cmd.build_temp = self.tmp_dir
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment