openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #12576
[Merge] lp:~smpettit/openlp/pyinstaller into lp:openlp
Stevan Pettit has proposed merging lp:~smpettit/openlp/pyinstaller into lp:openlp.
Requested reviews:
Andreas Preikschat (googol)
Tim Bentley (trb143)
For more details, see:
https://code.launchpad.net/~smpettit/openlp/pyinstaller/+merge/80669
Added code to windows-builder.py to point pyinstaller to the OpenLP\resources\pyinstaller hooks directory.
The builder will no longer be required to copy these files to the pyinstaller\hooks directory.
Cleaned up the documentation.
Modified Wiki
Fixed the documentation section.
Added sqlalchemy-migrate to comments section. Made some changes to comments section to preserve links.
--
https://code.launchpad.net/~smpettit/openlp/pyinstaller/+merge/80669
Your team OpenLP Core is subscribed to branch lp:openlp.
=== modified file 'scripts/windows-builder.py'
--- scripts/windows-builder.py 2011-07-23 12:11:11 +0000
+++ scripts/windows-builder.py 2011-10-28 13:37:25 +0000
@@ -48,10 +48,10 @@
Sphinx
This is used to build the documentation. The documentation trunk must be at
- the same directory level as Openlp trunk and named "documentation"
+ the same directory level as Openlp trunk and named "documentation".
HTML Help Workshop
- This is used to create the help file
+ This is used to create the help file.
PyInstaller
PyInstaller should be a checkout of revision 1470 of trunk, and in a
@@ -65,10 +65,6 @@
http://svn.pyinstaller.org/trunk
- Then you need to copy the two hook-*.py files from the "pyinstaller"
- subdirectory in OpenLP's "resources" directory into PyInstaller's
- "PyInstaller/hooks" directory.
-
Bazaar
You need the command line "bzr" client installed.
@@ -79,7 +75,7 @@
Visual C++ 2008 Express Edition
This is to build pptviewlib.dll, the library for controlling the
- PowerPointViewer
+ PowerPointViewer.
windows-builder.py
This script, of course. It should be in the "scripts" directory of OpenLP.
@@ -88,15 +84,25 @@
This dll is used during the actual install of OpenLP to check if OpenLP is
running on the users machine prior to the setup. If OpenLP is running,
the install will fail. The dll can be obtained from here:
- http://www.vincenzo.net/isxkb/index.php?title=PSVince)
+
+ http://www.vincenzo.net/isxkb/index.php?title=PSVince)
+
+ The dll is presently included in .\\resources\\windows
Mako
Mako Templates for Python. This package is required for building the
remote plugin. It can be installed by going to your
python_directory\scripts\.. and running "easy_install Mako". If you do not
have easy_install, the Mako package can be obtained here:
- http://www.makotemplates.org/download.html
-
+
+ http://www.makotemplates.org/download.html
+
+Sqlalchemy Migrate
+ Required for the data-bases used in OpenLP. The package can be
+ obtained here:
+
+ http://code.google.com/p/sqlalchemy-migrate/
+
"""
import os
@@ -149,6 +155,7 @@
dist_path = os.path.join(branch_path, u'dist', u'OpenLP')
pptviewlib_path = os.path.join(source_path, u'plugins', u'presentations',
u'lib', u'pptviewlib')
+hooks_path = os.path.join(branch_path , u'resources', u'pyinstaller')
def update_code():
os.chdir(branch_path)
@@ -173,7 +180,8 @@
pyinstaller = Popen((python_exe, pyi_build,
u'--noconfirm',
u'--windowed',
- u'--noupx',
+ u'--noupx',
+ u'--additional-hooks-dir', hooks_path,
u'-o', branch_path,
u'-i', win32_icon,
u'-p', branch_path,
Follow ups