Compare commits

..

3 Commits

Author SHA1 Message Date
Tomas Groth b167315ae4 Merge branch 'linux-build' into 'master'
First stab at creating a linux build with pyinstaller

See merge request openlp/packaging!25
2024-02-19 16:20:10 +00:00
Tomas Groth a9997b48fb Merge branch 'master' into linux-build 2024-02-19 17:19:41 +01:00
Tomas Groth e1d5bf6275 create tarball 2024-02-19 17:12:30 +01:00
1 changed files with 7 additions and 2 deletions

View File

@ -45,6 +45,7 @@ config.ini.default
import glob
import os
import platform
from pathlib import Path
from shutil import copy, copytree, move, rmtree
@ -97,9 +98,13 @@ class LinuxBuilder(Builder):
def build_package(self):
"""
Build the actual DMG
Build the tar.gz
"""
pass
self._print('Creating tar.gz bundle...')
# TODO: rename OpenLP folder to include version number?
cmd = 'tar -zcf OpenLP-bin-linux-{machine}.tar.gz OpenLP'.format(machine=platform.machine())
os.system(cmd)
self._print('Created tar.gz bundle.')
if __name__ == '__main__':