Updated build script to use requirements.txt for installing required Python packages.