From 72304bee2496e03f337e815d3ed1c79de2b6b539 Mon Sep 17 00:00:00 2001 From: Zev Lee <60147316+zevlee@users.noreply.github.com> Date: Thu, 25 Jan 2024 10:58:47 -0600 Subject: [PATCH] fix: Edit build.py to add requirements file --- build.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.py b/build.py index edc5713..2a73bb4 100644 --- a/build.py +++ b/build.py @@ -146,6 +146,11 @@ def _set_up_venv(self) -> int: f"{self.py} -m pip install pydeployment", self.logger.info ) + requirements = join(self.srcdir, "requirements.txt") + self._run_command( + f"{self.py} -m pip install -r {requirements}", + self.logger.info + ) self.logger.debug(f"Set up virtual environment: {venv}") return 0