[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/avinet/MapServer/main/src/mapscript/python/mapscript/__init__.py [Back]  [Original]

import inspect
import os
import platform
import sys

# As of Python 3.8 PATH can no longer be used to resolve the MapServer
# DLLs on Windows. Instead users will be required to set a new MAPSERVER_DLL_PATH
# environment variable.
# See https://docs.python.org/3/whatsnew/3.8.html#changes-in-the-python-api


def add_dll_path(pth):
    """
    Allow Python to access the directory containing the MapServer DLL (for Python on Windows only)
    """
    if (3, 8) 

Web Proxy Viewer  |  New URL  |  Original Page