Merge pull request #665 from KIAaze/fix_packaging_ubu20.04

Fix packaging on *ubuntu 20.04 (more specifically python version >=3.8)
This commit is contained in:
Andrew Senetar 2020-06-24 18:47:09 -05:00 committed by GitHub
commit 7658cdafbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,7 @@ import shutil
import json
from argparse import ArgumentParser
import platform
import distro
import re
from hscommon.build import (
@ -90,7 +91,7 @@ def package_debian_distribution(distribution):
)
shutil.copy(op.join("images", "dgse_logo_128.png"), srcpath)
os.chdir(destpath)
cmd = "dpkg-buildpackage -S -us -uc"
cmd = "dpkg-buildpackage -F -us -uc"
os.system(cmd)
os.chdir("../..")
@ -212,7 +213,7 @@ def main():
package_windows()
else:
if not args.arch_pkg:
distname, _, _ = platform.dist()
distname = distro.id()
else:
distname = "arch"
if distname == "arch":

View File

@ -2,3 +2,4 @@ Send2Trash>=1.3.0
sphinx>=1.2.2
polib>=1.0.4
hsaudiotag3k>=1.1.3
distro>=1.5.0