In your repo's root directory, check in a requirements.txt with
boto==2.30.0
Then, from the project's Project Settings > Environment Variables page, add the two env vars: AWS_ACCESS_KEY_ID and AWS_SECRET_KEY, with an IAM key that can deploy to eb.
Then create a bash script to set up eb: