<filename>psychxr/drivers/openhmd/__init__.py
"""Interface and tools for HMDs using OpenHMD.

"""
# ------------------
# Module information
# ------------------
#
__author__ = "<NAME>"
__credits__ = ["<NAME>"]
__copyright__ = "Copyright 2021 <NAME>"
__license__ = "MIT"
__version__ = '0.2.4rc2'
__status__ = "Stable"
__maintainer__ = "<NAME>"
__email__ = "<EMAIL>"

# -------
# Imports
# -------
#

# add library path
import os
import sys
import platform

# add library directory to PATH before loading the pyd
if platform.system() == "Windows":
    here, _ = os.path.split(sys.modules[__name__].__file__)
    os.environ["PATH"] += r";" + os.path.join(here, 'lib', 'win', 'x64')

# load exported data from the _openhmd extension module into the namespace
from ._openhmd import *
