I need to install a package from PyPi straight within my script.
Maybe there’s some module or distutils
(distribute
, pip
etc.) feature which allows me to just execute something like pypi.install('requests')
and requests will be installed into my virtualenv.