I need to install a package from PyPi straight within my script.
Maybe there\'s some module or distutils
(distribute
, pip
etc.) featur
You define the dependent module inside the setup.py of your own package with the "install_requires" option.
If your package needs to have some console script generated then you can use the "console_scripts" entry point in order to generate a wrapper script that will be placed within the 'bin' folder (e.g. of your virtualenv environment).