patch-libxml.py 243 B

12345678
  1. # cpython >= 3.8
  2. # @see https://docs.python.org/3/library/os.html#os.add_dll_directory
  3. import os
  4. if os.name == "nt":
  5. os.add_dll_directory(os.path.join(os.path.abspath(os.path.dirname(os.path.dirname(__file__))), "bin"))
  6. import libxml2mod