def get_requirement_files(args=None):
    """
    Get the "best" requirements file we can find
    """
    if args and args.input_filename:
        return [args.input_filename]

    paths = []
    for regex in settings.REQUIREMENTS_SOURCE_GLOBS:
        paths.extend(glob.glob(regex))
    return paths