install: Do not create Debian source package twice

This commit is contained in:
Alex Pyrgiotis 2023-01-09 15:30:52 +02:00
parent c36443b01e
commit a0503c8c40
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -31,8 +31,9 @@ def main():
shutil.rmtree(deb_dist_path) shutil.rmtree(deb_dist_path)
print("* Building DEB package") print("* Building DEB package")
# This command also builds the Debian source package, and then creates the DEB
# package, meaning that we don't need to run `sdist_dsc` as well.
run(["python3", "setup.py", "--command-packages=stdeb.command", "bdist_deb"]) run(["python3", "setup.py", "--command-packages=stdeb.command", "bdist_deb"])
run(["python3", "setup.py", "--command-packages=stdeb.command", "sdist_dsc"])
print("") print("")
print("* To install run:") print("* To install run:")