Skip to content

Version module

Reference to the version.py module.

version

nextroute_version

nextroute_version() -> str

Get the version of the embedded Nextroute binary.

Source code in nextroute/src/nextroute/version.py
def nextroute_version() -> str:
    """
    Get the version of the embedded Nextroute binary.
    """
    executable = os.path.join(os.path.dirname(__file__), "bin", "nextroute.exe")
    return subprocess.check_output([executable, "--version"]).decode().strip()