from os.path import isabs, join
import sys
import subprocess
try:
    subprocess.check_output('{} -c "import numba"'.format(sys.executable),
        shell=True)
    print('numba available, importing jit')
    from numba import jit
except Exception:
    print('cannot import numba, creating dummy jit definition')

    def jit(function):

        def wrapper(*args, **kwargs):
            return function(*args, **kwargs)
        return wrapper


def compose_path(file_path, reference_path):
    if reference_path and not isabs(file_path):
        file_path = join(reference_path, file_path)
    return file_path

f9712a63277f6904c72b69c4c022ee4c9266a718
<mask token>

<mask token>


def compose_path(file_path, reference_path):
    if reference_path and not isabs(file_path):
        file_path = join(reference_path, file_path)
    return file_path

<mask token>
try:
    subprocess.check_output('{} -c "import numba"'.format(sys.executable),
        shell=True)
    print('numba available, importing jit')
    from numba import jit
except Exception:
    print('cannot import numba, creating dummy jit definition')

    def jit(function):

        def wrapper(*args, **kwargs):
            return function(*args, **kwargs)
        return wrapper


def compose_path(file_path, reference_path):
    if reference_path and not isabs(file_path):
        file_path = join(reference_path, file_path)
    return file_path

from os.path import isabs, join
import sys
import subprocess
try:
    subprocess.check_output('{} -c "import numba"'.format(sys.executable),
        shell=True)
    print('numba available, importing jit')
    from numba import jit
except Exception:
    print('cannot import numba, creating dummy jit definition')

    def jit(function):

        def wrapper(*args, **kwargs):
            return function(*args, **kwargs)
        return wrapper


def compose_path(file_path, reference_path):
    if reference_path and not isabs(file_path):
        file_path = join(reference_path, file_path)
    return file_path
