"""
nocaselist - A case-insensitive list for Python
"""

from __future__ import absolute_import

import sys

from ._version import __version__  # noqa: F401
from ._nocaselist import *  # noqa: F403,F401

_PY_M = sys.version_info[0]
_PY_N = sys.version_info[1]

# Keep these Python versions in sync with setup.py
if _PY_M == 2 and _PY_N < 7:
    raise RuntimeError("On Python 2, nocaselist requires Python 2.7")
if _PY_M == 3 and _PY_N < 4:
    raise RuntimeError("On Python 3, nocaselist requires Python 3.4 or higher")
