From c7f0852ce01ab0521340ec6c047b1227d3f1a823 Mon Sep 17 00:00:00 2001 From: ngawangtrinley Date: Sat, 7 Apr 2018 16:18:30 +0800 Subject: [PATCH] building from source --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bfa70f9..1f73f1e 100644 --- a/README.md +++ b/README.md @@ -43,4 +43,15 @@ First version of an archive auditing tool for BDRC * Pillow integration * audit image metadata * generate archive and web bundles -* sync images to the server when ready \ No newline at end of file +* sync images to the server when ready + +### Building from source + +To build the project from source, get [PyInstaller](http://pyinstaller.readthedocs.io/en/stable/installation.html) on your machine and use the following command: + + pyinstaller -w -F bdrc-audit.py --icon=rc/icon-windowed.icns + +In order to support **retina** display on Mac, locate the *Info.plist* directory in the *bdrc-audit.app* bundle and add the following string/key pair at the end of the list: + + NSHighResolutionCapable + True \ No newline at end of file