From c68adc9a6d4aa89ba8868dead336e0207861a8ac Mon Sep 17 00:00:00 2001 From: n3hrox Date: Sun, 10 Nov 2019 20:23:14 +0100 Subject: [PATCH] remove windows patch in favor of echo --- scripts/build_windows.cmd | 3 +-- scripts/patches/windows.patch | 14 -------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 scripts/patches/windows.patch diff --git a/scripts/build_windows.cmd b/scripts/build_windows.cmd index 0df597f31f..90c513c83c 100755 --- a/scripts/build_windows.cmd +++ b/scripts/build_windows.cmd @@ -16,13 +16,12 @@ where choco if %errorlevel% neq 0 (echo Error: choco not found && goto :error) choco install InnoSetup -choco install git call refreshenv where iscc if %errorlevel% neq 0 (echo Error: Couldn't find Inno Setup compiler. && goto :error) echo ====== Installing requirements... ====== -call git patch scripts\patches\windows.patch +echo PKG = "exe" > dvc\utils\build.py call pip install .[all] || goto :error call pip install psutil || goto :error call dvc pull || goto :error diff --git a/scripts/patches/windows.patch b/scripts/patches/windows.patch deleted file mode 100644 index 32a293b6b4..0000000000 --- a/scripts/patches/windows.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- - dvc/utils/build.py | 1 + - 1 file changed, 1 insertion(+) - create mode 100644 dvc/utils/build.py - -diff --git a/dvc/utils/build.py b/dvc/utils/build.py -new file mode 100644 -index 00000000..ada7a0bb ---- /dev/null -+++ b/dvc/utils/build.py -@@ -0,0 +1 @@ -+PKG = "exe" --- -2.17.1