From 0a974337eff75ba99d5e1d42ca226b6b555a7b95 Mon Sep 17 00:00:00 2001 From: Ryan Volz Date: Mon, 27 Feb 2023 12:45:10 -0500 Subject: [PATCH] Switch to patch_ng since python-patch is unmaintained. --- build_installer.py | 4 ++-- buildenv.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build_installer.py b/build_installer.py index d1ee9c7..daef063 100755 --- a/build_installer.py +++ b/build_installer.py @@ -112,9 +112,9 @@ if __name__ == "__main__": if platform.startswith("win"): # patch constructor's nsis template - import patch + import patch_ng - pset = patch.fromfile( + pset = patch_ng.fromfile( "static/0001-Customize-Windows-NSIS-installer-script.patch" ) pset.write_hunks( diff --git a/buildenv.yaml b/buildenv.yaml index 3dd229c..2d22ec2 100644 --- a/buildenv.yaml +++ b/buildenv.yaml @@ -5,5 +5,5 @@ dependencies: - anaconda-client - conda-build - constructor - - python-patch + - patch-ng - requests