Skip to content

Commit

Permalink
Merge pull request #102 from zevlee/edit-build
Browse files Browse the repository at this point in the history
fix: Edit build.py to add requirements file
  • Loading branch information
zevlee authored Jan 25, 2024
2 parents c92291f + 72304be commit df32c55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit df32c55

Please sign in to comment.