def METHOD_NAME(target):
    target /= file_name
    if target.exists():
        target.unlink()
    with open(target, "w") as version_file:
        version_file.write(
            f'# created by setup.py\n__version__ = "{__version__}"'
        )