Closed wolph closed 1 year ago
Libraries such as typer define app in a different file so we cannot normally use mainpy.main(app) anymore. With this patch we read the current call stack to see if we're still being called from the __main__ module
typer
mainpy.main(app)
__main__
I've re-merged the pyproject.toml. Apparently git f'ed up again :P
Libraries such as
typer
define app in a different file so we cannot normally usemainpy.main(app)
anymore. With this patch we read the current call stack to see if we're still being called from the__main__
module