/python_mingw_libs

MinGW compatible Python library creator.

Primary LanguagePythonMozilla Public License 2.0MPL-2.0

Python mingw library creator script

written in Python (ironically)

Creates MinGW compatible library files of the Python DLL using gendef/dlltool, for people too lazy to cross compile python.

Python source: https://www.python.org/downloads/source/

Supports:

  • Python 3.11.2 Win64 (Only tested 64bit), for vapoursynth R62

Requires:

  • gendef (part of MinGW)
  • dlltool (so is this)
  • Python 3(+)

How to run:

make PREFIX={INSTALL_FOLDER} GENDEF={FULL_PATH_TO_GENDEF} DLLTOOL={FULL_PATH_TO_DLLTOOL}

INSTALL_FOLDER should probably be your MinGW prefix (where lib/include folders are)