-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try cx_freeze for packaging CLI program #45
Comments
It appears that our use of setuptools' pkg_resources is incompatible with cx_freeze. We'd need to change the program design to use cx_freeze. |
There's also pyinstaller and bbfreeze (unmaintained) both of which can theoretically create cross-platform binaries. There are some other options out there but they all seem to be platform specific: There's also the perhaps insane idea of supporting Jython or zippy and packaging it as a jar file to run on the JVM. 😵 |
EDIT: It theoretically does using this workaround |
Update on +from .cli import main_group
-@click.command(short_help="Geocode an address or coordinates.")
+@main_group.command(short_help="Geocode an address or coordinates.") write the main
then run pyinstaller on the wrapper script to produce an executable
and geocoding works as expected. Implications of this approach? Compiled script means no dynamic plugins at runtime, lose the ability to do user plugins. |
Too old. I don't think we're going to go this route. |
I'm not sure if this is the way to go, but I've been curious about cx_freeze.
See also #18.
The text was updated successfully, but these errors were encountered: