
try:
    from appnope import *
except ImportError:
    __version__ = '0.0.5'
    import sys
    import platform
    from distutils.version import LooseVersion as V

    if sys.platform != "darwin" or V(platform.mac_ver()[0]) < V("10.9"):
        from _dummy import *
    else:
        from ._nope import *

    del sys, platform, V


try:
    from appnope import *
except ImportError:
    __version__ = '0.0.5'
    import sys
    import platform
    from distutils.version import LooseVersion as V

    if sys.platform != "darwin" or V(platform.mac_ver()[0]) < V("10.9"):
        from ._dummy import *
    else:
        from ._nope import *

    del sys, platform, V

Fix relative import in appnope
Fix relative import in appnope

Closes gh-6409
