Detect if there is a virtualenv active when installing Python deps

Detect if there is a virtualenv active when installing Python applications for not to require su credentials for dependencies