diff options
author | Toshio Kuratomi <a.badger@gmail.com> | 2017-02-15 06:58:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-15 06:58:09 -0800 |
commit | d7b7cbac1a1f418041f2accd08e3389c9dca8f21 (patch) | |
tree | b361b55eee1dec18bdbac989bb9af89adc416ff2 /docs | |
parent | 39a8638ec0b2193f97e1ede5f4ab4139b357278c (diff) | |
download | ansible-d7b7cbac1a1f418041f2accd08e3389c9dca8f21.tar.gz |
Move to using a requirements.txt to install the python packages. (#21430)
Move to using a requirements.txt to install the python packages.
This makes it easy to keep the documentation and actual package
dependencies in sync.
Fixes #18453
Diffstat (limited to 'docs')
-rw-r--r-- | docs/docsite/rst/intro_installation.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/docsite/rst/intro_installation.rst b/docs/docsite/rst/intro_installation.rst index bab89c9598..23f76663cc 100644 --- a/docs/docsite/rst/intro_installation.rst +++ b/docs/docsite/rst/intro_installation.rst @@ -330,9 +330,11 @@ If you don't have pip installed in your version of Python, install pip:: $ sudo easy_install pip -Ansible also uses the following Python modules that need to be installed [1]_:: +Ansible also uses the following Python modules that need to be installed [1]_: - $ sudo pip install paramiko PyYAML Jinja2 httplib2 six +.. code-block:: bash + + $ sudo pip install -r ./requirements.txt To update ansible checkouts, use pull-with-rebase so any local changes are replayed. @@ -383,4 +385,4 @@ You can also use "sudo make install". `irc.freenode.net <http://irc.freenode.net>`_ #ansible IRC chat channel -.. [1] If you have issues with the "pycrypto" package install on Mac OSX, which is included as a dependency for paramiko, then you may need to try "CC=clang sudo -E pip install pycrypto". +.. [1] If you have issues with the "pycrypto" package install on Mac OSX, then you may need to try ``CC=clang sudo -E pip install pycrypto``. |