mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 04:52:50 +00:00
Fix some paths
This commit is contained in:
parent
a3088e878b
commit
7a30015296
@ -326,6 +326,7 @@ class WindowsBuilder(Builder):
|
||||
config_defaults.update({
|
||||
'pyroot': self.python_root,
|
||||
'progfiles': self.program_files,
|
||||
'progfilesx86': self.program_files_x86,
|
||||
'sitepackages': self.site_packages,
|
||||
'projects': os.path.abspath(os.path.join(self.script_path, '..', '..'))
|
||||
})
|
||||
@ -358,8 +359,10 @@ class WindowsBuilder(Builder):
|
||||
self.python_root = os.path.dirname(self.python)
|
||||
self.site_packages = os.path.join(self.python_root, 'Lib', 'site-packages')
|
||||
self.program_files = os.getenv('PROGRAMFILES')
|
||||
self.program_files_x86 = os.getenv('PROGRAMFILES(x86)')
|
||||
self._print_verbose(' {:.<20}: {}'.format('site packages: ', self.site_packages))
|
||||
self._print_verbose(' {:.<20}: {}'.format('program files: ', self.program_files))
|
||||
self._print_verbose(' {:.<20}: {}'.format('program files x86: ', self.program_files_x86))
|
||||
|
||||
def setup_paths(self):
|
||||
"""
|
||||
|
@ -1,13 +1,13 @@
|
||||
[executables]
|
||||
sphinx = %(pyroot)s\Scripts\sphinx-build.exe
|
||||
pyinstaller = %(pyroot)s\Scripts\pyinstaller-script.py
|
||||
pyinstaller = %(pyroot)s\Scripts\pyinstaller.exe
|
||||
htmlhelp = %(progfiles)s\HTML Help Workshop\hhc.exe
|
||||
lrelease = C:\Qt\5.12\msvc2017\bin\lrelease.exe
|
||||
portablelauncher = %(here)s\..\..\PortableApps.comLauncher\PortableApps.comLauncherGenerator.exe
|
||||
portableinstaller = %(here)s\..\..\PortableApps.comInstaller\PortableApps.comInstaller.exe
|
||||
mutool = %(here)s\..\..\mupdf-1.14.0-windows\mutool.exe
|
||||
candle = %(progfiles)s\WiX Toolset v3.11\bin\candle.exe
|
||||
light = %(progfiles)s\WiX Toolset v3.11\bin\light.exe
|
||||
candle = %(progfilesx86)s\WiX Toolset v3.11\bin\candle.exe
|
||||
light = %(progfilesx86)s\WiX Toolset v3.11\bin\light.exe
|
||||
|
||||
[paths]
|
||||
branch = %(projects)s\openlp-branch
|
||||
|
Loading…
Reference in New Issue
Block a user