19 lines
552 B
Python
19 lines
552 B
Python
""" stand alone command line script for use with pyinstaller
|
|
|
|
To build this into an executable:
|
|
- install pyinstaller:
|
|
python3 -m pip install pyinstaller
|
|
- then use make_cli_exe.sh to run pyinstaller
|
|
|
|
Resulting executable will be in "dist/osxphotos"
|
|
|
|
Note: This is *not* the cli that "python3 -m pip install osxphotos" or "python setup.py install" would install;
|
|
it's merely a wrapper around __main__.py to allow pyinstaller to work
|
|
|
|
"""
|
|
|
|
from osxphotos.__main__ import cli
|
|
|
|
if __name__ == "__main__":
|
|
cli()
|