Commits

Anthony Tuininga committed 4c14326

Remove unnecessary dependency on win32api; starting in Python 2.4 the import
library is shipped with Python itself; for use by Python 2.3 the import library
can be created by those who require it.

  • Participants
  • Parent commits e661540

Comments (0)

Files changed (1)

     if importLibraryDir is not None:
         importLibraryName = os.path.join(importLibraryDir, "libcx_Logging.a")
         extraLinkArgs.append("-Wl,--out-implib=%s" % importLibraryName)
-    if sys.version_info[:2] < (2, 4):
-        import win32api
-        extraLinkArgs.append(win32api.GetModuleFileName(sys.dllhandle))
     libs.append("ole32")
 defineMacros = [
         ("CX_LOGGING_CORE",  None),