(line.partition('=') for line in out.splitlines())
if key and value
}
-
+
if vcruntime:
env['py_vcruntime_redist'] = vcruntime
return env
'/nologo', '/Ox', '/W3', '/GL', '/DNDEBUG'
]
self.compile_options.append('/MD' if self._vcruntime_redist else '/MT')
-
+
self.compile_options_debug = [
'/nologo', '/Od', '/MDd', '/Zi', '/W3', '/D_DEBUG'
]
compiler.initialize()
dll = compiler._vcruntime_redist
self.assertTrue(os.path.isfile(dll))
-
+
compiler._copy_vcruntime(tempdir)
self.assertFalse(os.path.isfile(os.path.join(