#!/usr/bin/env python3
#
# Licensed under the GPL: https://www.gnu.org/licenses/gpl-3.0.en.html
# For details: reprotest/debian/copyright

import os
import sys

# Prefer local modules over any system-installed ones to ensure that running a
# Git version from any current working directory does not have unexpected
# behaviour.
parent = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if os.path.exists(os.path.join(parent, 'reprotest', '__init__.py')):
    sys.path.insert(0, parent)

from reprotest import main  # noqa

if __name__ == '__main__':
    main()
