mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-05-27 11:19:54 -07:00
Core: fix deprecation warning for utcnow() in setup.py (#4170)
This commit is contained in:
@@ -321,7 +321,7 @@ class BuildExeCommand(cx_Freeze.command.build_exe.build_exe):
|
||||
f"{ex}\nPlease close all AP instances and delete manually.")
|
||||
|
||||
# regular cx build
|
||||
self.buildtime = datetime.datetime.utcnow()
|
||||
self.buildtime = datetime.datetime.now(datetime.timezone.utc)
|
||||
super().run()
|
||||
|
||||
# manually copy built modules to lib folder. cx_Freeze does not know they exist.
|
||||
|
||||
Reference in New Issue
Block a user