Skip to content

Commit

Permalink
Update fedora build script
Browse files Browse the repository at this point in the history
  • Loading branch information
micahflee committed Mar 17, 2020
1 parent 650fcf8 commit f7532ec
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions install/linux/build_rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
)


def run(cmd):
subprocess.run(cmd, cwd=root, check=True)


def main():
build_path = os.path.join(root, "build")
dist_path = os.path.join(root, "dist")
Expand All @@ -34,13 +30,11 @@ def main():
shutil.rmtree(dist_path)

print("* Building RPM package")
run(
[
"python3",
"setup.py",
"bdist_rpm",
'--requires="python3-qt5,python3-appdirs,python3-click,python3-pyxdg,python3-requests,(docker or docker-ce)"',
]
subprocess.run(
"python3 setup.py bdist_rpm --requires='python3-qt5,python3-appdirs,python3-click,python3-pyxdg,python3-requests,(docker or docker-ce)'",
shell=True,
cwd=root,
check=True,
)

print("")
Expand Down

0 comments on commit f7532ec

Please sign in to comment.