From 1e8e9e8f9f522e26c9fa794d1aa42d96626e2ac5 Mon Sep 17 00:00:00 2001 From: Lemonyte <49930425+lemonyte@users.noreply.github.com> Date: Tue, 2 Jul 2024 13:51:12 -0700 Subject: [PATCH] Add build to dev requirements --- requirements-dev.txt | 1 + scripts/build_unix.sh | 2 +- scripts/build_windows.ps1 | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 0a6906d..9d62038 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,4 @@ pre-commit~=3.7.1 setuptools>=61 Cython~=3.0.10 +build~=1.2.1 diff --git a/scripts/build_unix.sh b/scripts/build_unix.sh index 224b00b..3d6b030 100644 --- a/scripts/build_unix.sh +++ b/scripts/build_unix.sh @@ -28,7 +28,7 @@ python --version # Install build dependencies. echo "Installing build dependencies..." -python -m pip install build +python -m pip install -r requirements-dev.txt # Update autotrace submodule. if ! [ -d "third-party/autotrace/src" ] diff --git a/scripts/build_windows.ps1 b/scripts/build_windows.ps1 index 0aefd4f..edabc9a 100644 --- a/scripts/build_windows.ps1 +++ b/scripts/build_windows.ps1 @@ -35,7 +35,7 @@ try # Install build dependencies. Write-Host "Installing build dependencies..." - python -m pip install build + python -m pip install -r requirements-dev.txt # Update autotrace submodule. if (-not (Test-Path "third-party\autotrace\src"))