diff --git a/builders/builder.py b/builders/builder.py index 9670c69..31252bc 100644 --- a/builders/builder.py +++ b/builders/builder.py @@ -218,7 +218,7 @@ class Builder(object): else: self.version = None self.work_path = self.branch_path - self.openlp_script = os.path.abspath(os.path.join(self.work_path, 'openlp-run.py')) + self.openlp_script = os.path.abspath(os.path.join(self.work_path, 'run_openlp.py')) self.source_path = os.path.join(self.work_path, 'openlp') self.manual_path = os.path.join(self.documentation_path, 'manual') self.manual_build_path = os.path.join(self.manual_path, 'build') @@ -269,7 +269,6 @@ class Builder(object): Run PyInstaller on the branch to build an executable. """ self._print('Running PyInstaller...') - copy(os.path.join(self.work_path, 'openlp.py'), self.openlp_script) os.chdir(self.work_path) cmd = [self.python, self.pyinstaller_exe, @@ -428,7 +427,8 @@ class Builder(object): rmtree(self.manual_build_path) os.chdir(self.manual_path) sphinx_build = self.get_sphinx_build() - command = [self.sphinx_exe, '-b', sphinx_build, '-d', 'build/doctrees', 'source', 'build/{}'.format(sphinx_build)] + command = [self.sphinx_exe, '-b', sphinx_build, '-d', 'build/doctrees', 'source', + 'build/{}'.format(sphinx_build)] self._run_command(command, 'Error running Sphinx') self.after_run_sphinx() @@ -477,5 +477,3 @@ class Builder(object): self._print('Done.') raise SystemExit() - -