.. _pip: pip `````````````````````````````` .. versionadded:: 0.7 Manage Python library dependencies. .. raw:: html
parameter required default choices comments
virtualenv no
    An optional path to a virtualenv directory to install into
    state no present
    • present
    • absent
    • latest
    The state of module
    version no
      The version number to install of the Python library specified in the 'name' parameter
      requirements no
        The path to a pip requirements file
        name yes
          The name of a Python library to install
          .. raw:: html

          Install flask python package.

              pip name=flask
              

          Install flask python package on version 0.8.

              pip name=flask version=0.8
              

          Install Flask (http://flask.pocoo.org/) into the specified virtualenv

              pip name=flask virtualenv=/srv/webapps/my_app/venv
              

          Install specified python requirements.

              pip requirements=/srv/webapps/my_app/src/requirements.txt
              

          Install specified python requirements in indicated virtualenv.

              pip requirements=/srv/webapps/my_app/src/requirements.txt virtualenv=/srv/webapps/my_app/venv
              


          .. raw:: html

          Notes

          Please note that http://www.virtualenv.org/, virtualenv must be installed on the remote host if the virtualenv parameter is specified.