diff --git a/setup.py b/setup.py index afbe17726df4..501341ef8387 100644 --- a/setup.py +++ b/setup.py @@ -321,7 +321,7 @@ def run(self) -> None: f"{ex}\nPlease close all AP instances and delete manually.") # regular cx build - self.buildtime = datetime.datetime.utcnow() + self.buildtime = datetime.datetime.now(datetime.UTC) super().run() # manually copy built modules to lib folder. cx_Freeze does not know they exist.