pallets / click

Python composable command line interface toolkit
https://click.palletsprojects.com
BSD 3-Clause "New" or "Revised" License
15.55k stars 1.39k forks source link

document how to create a standalone application #2757

Open davidism opened 1 month ago

davidism commented 1 month ago

Investigate and document how to package a Click project with Briefcase so that it becomes a standalone executable that does not require installing Python or dependencies.

john0isaac commented 1 month ago

I have a click package and wanted to help, this is all I needed to do in order for me to package it with briefcase.

These are the changes I needed to do: https://github.com/john0isaac/markdown-checker/pull/68/files

Happy to raise a PR to document it.

davidism commented 1 month ago

Sure, check out Flask's deploying docs for an idea of the format and level of detail that might be appropriate. Like those docs, we'd eventually want different pages for different common tools, such as pyinstaller or cx_freeze. Not saying you need to be the one to write all those though, I'd be happy with briefcase only at this point.