<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def iter_support_files(tile):
 """Iterate over all files that go in the support wheel. This method has two possible behaviors. If there is a 'support_package' product defined, then this recursively enumerates all .py files inside that folder and adds them all in the same hierarchy to the support wheel. If there is no support_package product defined, then the old behavior takes over, where all files containing python entrypoints are iterated over using iter_python_modules() and they are copied into the support wheel and then an __init__.py file is added. The files are yielded as tuples of (copy_name, input_path). """


    support_package = get_support_package(tile)
    if support_package is None:
        for module, _, _ in iter_python_modules(tile):
            yield os.path.basename(module), module
    else:
        for dirpath, _dirnames, filenames in os.walk(support_package):
            for filename in filenames:
                if not filename.endswith('.py'):
                    continue

                input_path = os.path.join(dirpath, filename)
                output_path = os.path.relpath(input_path, start=support_package)

                if output_path == "__init__.py":
                    continue

                yield output_path, input_path