Adds virtualenv support

[Closes #1]