Use pyinstaller
to compile to executable program, so that you can double-click the image to open the HandyView.
- Use pyinstaller to build
./pyinstaller_install.sh
- Choose the
dist/handyview/handyviewer.exe
as the default image viewer
Using Anaconda for building will produce app with a very large file size, so we recommend using virtualenv to build the app.
- Clone the repo
git clone https://github.com/xinntao/HandyView.git cd HandyView
- Prepare virtualenv
pip3 install virtualenv virtualenv venv source venv/bin/activate pip install -r requirements.txt
- Use pyinstaller to build
the compiled app is located at
./pyinstaller_install_mac.sh
dist/handyviewer.app
- [option] Create dmg file
the dmg file is located at
./create_dmg.sh
dist/handyviewer.dmg