def rebuild_winpython_package(source_directory: Path, target_directory: Path, architecture: int = 64, verbose: bool = False):
    """Rebuilds the winpython package from source using flit."""
    for file in target_directory.glob("winpython-*"):
        if file.suffix in (".exe", ".whl", ".gz"):
            file.unlink()
    utils.buildflit_wininst(source_directory, copy_to=target_directory, verbose=True)
Rebuilds the winpython package from source using flit.
make.py