Added build configuration file and build instructions.

This commit is contained in:
joelnir
2017-05-16 18:30:08 +02:00
parent 3ae68fa291
commit 199acd4847
2 changed files with 17 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
--- Build Instructions ---
Using py2exe and python 3.4
From the main directory run "python setup_exe.py py2exe".
This creates a new "dist" folder with the SplitNotes .exe and needed data files.
Zip up this folder for distribution.
+11
View File
@@ -0,0 +1,11 @@
from distutils.core import setup
import py2exe
setup(
windows=[r'main_window.py'],
options = {'py2exe': {'bundle_files': 2, 'compressed': True}},
zipfile = None,
data_files = [('resources', ['resources/green.png']),
('resources', ['resources/red.png']),
('resources', ['resources/settings_icon.png'])]
)