Support code for building Python extensions on Windows.
# NT stuff # 1. Make sure libpython<version>.a exists for gcc. If not, build it. # 2. Force windows to use gcc (we're struggling with MSVC and g77 support) # 3. Force windows to use g77
Variable | crt_ver |
Undocumented |
Variable | maj |
Undocumented |
Variable | min |
Undocumented |
Class | Mingw32CCompiler |
A modified MingW32 compiler compatible with an MSVC built Python. |
Function | _build_import_library_amd64 |
Undocumented |
Function | _build_import_library_x86 |
Build the import libraries for Mingw32-gcc on Windows |
Function | _check_for_import_lib |
Check if an import library for the Python runtime already exists. |
Function | build_import_library |
Undocumented |
Function | build_msvcr_library |
Undocumented |
Function | check_embedded_msvcr_match_linked |
msver is the ms runtime version used for the MANIFEST. |
Function | configtest_name |
Undocumented |
Function | dump_table |
Undocumented |
Function | find_dll |
Undocumented |
Function | find_python_dll |
Undocumented |
Function | generate_def |
Given a dll file location, get all its exported symbols and dump them into the given def file. |
Function | generate_manifest |
Undocumented |
Function | get_msvcr_replacement |
Replacement for outdated version of get_msvcr from cygwinccompiler |
Function | manifest_name |
Undocumented |
Function | manifest_rc |
Return the rc file used to generate the res file which will be embedded as manifest for given manifest file name, of given type ('dll' or 'exe'). |
Function | msvc_manifest_xml |
Given a major and minor version of the MSVCR, returns the corresponding XML file. |
Function | rc_name |
Undocumented |
Constant | _MSVCRVER_TO_FULLVER |
Undocumented |
Constant | _START |
Undocumented |
Constant | _TABLE |
Undocumented |
Given a dll file location, get all its exported symbols and dump them into the given def file.
The .def file will be overwritten
Return the rc file used to generate the res file which will be embedded as manifest for given manifest file name, of given type ('dll' or 'exe').