make deploy.py handle requirements, migrations, and tests