zipapp.create_archive(source, target=None, interpreter=None, main=None)
Create an application archive from source. The source can be any of the following:
The name of a directory, or a pathlib.Path object referring to a directory, in which case a new application archive will be created from the content of that directory. The name of an existing application archive file, or a pathlib.Path object referring to such a file, in which case the file is copied to the target (modifying it to reflect