pip_freeze.rst 602 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .. _`pip freeze`:
  2. pip freeze
  3. -----------
  4. .. contents::
  5. Usage
  6. *****
  7. .. pip-command-usage:: freeze
  8. Description
  9. ***********
  10. .. pip-command-description:: freeze
  11. Options
  12. *******
  13. .. pip-command-options:: freeze
  14. Examples
  15. ********
  16. #. Generate output suitable for a requirements file.
  17. ::
  18. $ pip freeze
  19. docutils==0.11
  20. Jinja2==2.7.2
  21. MarkupSafe==0.19
  22. Pygments==1.6
  23. Sphinx==1.2.2
  24. #. Generate a requirements file and then install from it in another environment.
  25. ::
  26. $ env1/bin/pip freeze > requirements.txt
  27. $ env2/bin/pip install -r requirements.txt