
# =========================================
#       IMPORTS
# --------------------------------------

import sys
import os

from os import path

CURRENT_PATH = path.abspath(path.dirname(__file__))

if path.isdir(__file__):
    ROOT_PATH = path.abspath(path.join(CURRENT_PATH, '..'))
else:
    ROOT_PATH = path.abspath(path.join(CURRENT_PATH, '..', '..'))

try:
    try:
        sys.path.remove(CURRENT_PATH)
    except:
        pass

    sys.path.index(ROOT_PATH)

except ValueError:
    sys.path.insert(0, ROOT_PATH)

from setupextras.tests import helper


# =========================================
#       RUN
# --------------------------------------

helper.run(__file__)
