diff --git a/build.py b/build.py index e1f8b30..65bbc87 100644 --- a/build.py +++ b/build.py @@ -3,20 +3,10 @@ import pathlib import zipfile -import subprocess -import time def reproducible_date(): - fallback = (1980, 1, 1, 1, 1, 1) - git_time = subprocess.run( - ["git", "show", "-s", "--format=%ct"], capture_output=True - ) - if git_time.returncode != 0: - return fallback - commit_time = int(git_time.stdout.decode("utf-8").split("\n")[0]) - t = time.gmtime(commit_time) - return (t.tm_year, t.tm_mon, t.tm_mday, t.tm_hour, t.tm_min, t.tm_sec) + return (2000, 1, 1, 1, 1, 1) def clean_zip(path):