Added cli.py for use with pyinstaller

This commit is contained in:
Rhet Turnbull
2020-04-18 18:34:09 -07:00
parent f20fadcef7
commit cf28cb6452
2 changed files with 27 additions and 0 deletions

8
make_cli_exe.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
# This will build an stand-alone executable called 'osxphotos' in your ./dist directory
# using pyinstaller
# If you need to install pyinstaller:
# python3 -m pip install --upgrade pyinstaller
pyinstaller --onefile --hidden-import="pkg_resources.py2_warn" --name osxphotos --add-data osxphotos/templates/xmp_sidecar.mako:osxphotos/templates cli.py