Use YAML to define your environment
Python Makefile

README.rst

withenv

https://travis-ci.org/ionrock/withenv.png?branch=master

We use environment variables all the time, but they can be painful to maintain because a shell is sticky. It is too easy to set an environment variable in your shell, only to have that variable stick around when you change projects.

withenv aims to help this problem by providing a simple way to prefix commands targeting YAML files that will be added to the environment prior to the command running.

See the docs for more info.