mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 13:02:50 +00:00
Add some more debug logging to figure out what's going on with the paths
This commit is contained in:
parent
2f7e689c99
commit
77c9b883a9
@ -180,6 +180,7 @@ class Builder(object):
|
||||
self._print_verbose(' {:.<20}: {}'.format('python: ', self.python))
|
||||
self._print_verbose(' {:.<20}: {}'.format('script: ', self.script_path))
|
||||
self._print_verbose(' {:.<20}: {}'.format('config: ', self.config_path))
|
||||
self._print_verbose(' {:.<20}: {}'.format('config path: ', os.path.dirname(self.config_path)))
|
||||
|
||||
def setup_executables(self):
|
||||
"""
|
||||
@ -279,14 +280,15 @@ class Builder(object):
|
||||
'-i', self.icon_path,
|
||||
'-n', 'OpenLP',
|
||||
self.openlp_script]
|
||||
self._print_verbose(' {}'.format(cmd))
|
||||
if not self.args.verbose:
|
||||
cmd.append('--log-level=ERROR')
|
||||
else:
|
||||
cmd.append('--log-level=DEBUG')
|
||||
if not self.args.release:
|
||||
cmd.append('-d')
|
||||
self._run_command(cmd, 'Error running PyInstaller')
|
||||
self._print_verbose('... {}'.format(' '.join(cmd)))
|
||||
output = self._run_command(cmd, 'Error running PyInstaller')
|
||||
self._print_verbose(output)
|
||||
|
||||
def write_version_file(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user