From 870024ef1ecc2c53ae1018f02806207279a6c539 Mon Sep 17 00:00:00 2001
From: Robin Adili <robin.adili@inria.fr>
Date: Thu, 31 Mar 2022 13:41:22 +0200
Subject: [PATCH] install patch with dependencies + change version to
 2020.1.post2

---
 pull_reqs.bat  | 3 +--
 pyproject.toml | 4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/pull_reqs.bat b/pull_reqs.bat
index b9bcca5..ddd723e 100644
--- a/pull_reqs.bat
+++ b/pull_reqs.bat
@@ -12,7 +12,6 @@ for /F "tokens=1,2 delims=;" %%i in (reqs_win.txt) do (
         "%BUILDDIR%\%%i.exe" /S /D=%BUILDDIR%\%%i
 )
 
-curl.exe -C - -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0" -L -o "%BUILDDIR%\patch.py" "https://raw.githubusercontent.com/techtonik/python-patch/master/patch.py"
-python "%BUILDDIR%\patch.py" --verbose --directory "%CURRENTDIR%" --debug patch 
+python -m patch --verbose --directory "%CURRENTDIR%" patch 
 move "%BUILDDIR%\fbxsdk\lib\vs2017" "%BUILDDIR%\fbxsdk\lib\all"
 popd
diff --git a/pyproject.toml b/pyproject.toml
index 9edf5e1..c3f877e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,12 +1,12 @@
 # Specify sip v5 as the build system for the package.
 [build-system]
-requires = ["sip >=5", "auditwheel"]
+requires = ["sip >=5", "auditwheel", "patch"]
 build-backend = "sipbuild.api"
 
 # Specify the PEP 566 metadata for the project.
 [tool.sip.metadata]
 name = "fbxsdkpy"
-version = "2020.1.post1"
+version = "2020.1.post2"
 
 # Configure the building of the fib bindings.
 [tool.sip.bindings.fbx_module]
-- 
GitLab