Commits

Anthony Tuininga committed 3dfa860

Use the Microsoft Visual C compiler to build with Python 2.6 and up since that
is what is used by the Python developers and using mingw32, although it works
most of the time, can cause some strange behaviors in certain esoteric
situations.

  • Participants
  • Parent commits 239fdb9

Comments (0)

Files changed (3)

 includeDirs = [baseModulesDir]
 extraSources = []
 if sys.platform == "win32":
-    if sys.version_info[:2] >= (2, 6):
-        extraSources.append("source/bases/manifest.rc")
-    else:
+    if sys.version_info[:2] < (2, 6):
         extraSources.append("source/bases/dummy.rc")
 console = Extension("cx_Freeze.bases.Console",
         ["source/bases/Console.c"] + extraSources, depends = fullDepends,

File source/bases/manifest.rc

-#include "dummy.rc"
-
-1 24 source/bases/manifest.txt

File source/bases/manifest.txt

-<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
-  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
-    <security>
-      <requestedPrivileges>
-        <requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
-      </requestedPrivileges>
-    </security>
-  </trustInfo>
-  <dependency>
-    <dependentAssembly>
-      <assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.21022.8" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
-    </dependentAssembly>
-  </dependency>
-  <dependency>
-      <dependentAssembly>
-          <assemblyIdentity
-              type="win32"
-              name="Microsoft.Windows.Common-Controls"
-              version="6.0.0.0"
-              processorArchitecture="X86"
-              publicKeyToken="6595b64144ccf1df"
-              language="*"
-          />
-      </dependentAssembly>
-  </dependency>
-</assembly>