Set up requirements in a directory to allow for base.txt, test.txt, and prod.txt for optimal dependency management in testing and live environments.