Anonymous avatar Anonymous committed 4f0d997 Merge

merge from ianb

Comments (0)

Files changed (3)

 * Maybe uninstallation will get added. (It might get added to easy_install,
   but I think the chance for pip is higher.)
 
-Also, pip will eventually be merged directly with pip, making it
-simple to define fixed sets of requirements and reliably reproduce a set of
-packages.
+* Simple to define fixed sets of requirements and reliably reproduce a
+  set of packages.
 
 pip is complementary with `virtualenv
 <http://pypi.python.org/pypi/virtualenv>`_, and it is encouraged that you use
 * Added ability to override the default log file name (``pip-log.txt``)
   with the environmental variable ``$PIP_LOG_FILE``.
 
-* Made the freeze command to return the installed packages instead of
+* Made the freeze command print installed packages to stdout instead of
   writing them to a file. Use simple redirection (e.g.
   ``pip freeze > stable-req.txt``) to get a file with requirements.
 
-* Fixed problem of freezing an editable packages from a Git repository.
+* Fixed problem with freezing editable packages from a Git repository.
 
 * Added support for base URLs using ``<base href='...'>`` when parsing
   HTML pages.

tests/test_freeze.txt

 
     >>> reset_env()
     >>> env = get_env()
-    >>> result = env.run('hg', 'clone', '-r', 'a5748745272a', 'http://bitbucket.org/mitsuhiko/pygments-main/', 'pygments')
+    >>> result = env.run('hg', 'clone', '-r', 'f8f7eaf275c5', 'http://bitbucket.org/jezdez/django-dbtemplates/', 'django-dbtemplates')
     >>> result = env.run(os.path.join(env.base_path, 'bin/python'), 'setup.py', 'develop',
-    ...                  cwd=os.path.join(env.base_path, 'pygments'))
+    ...                  cwd=os.path.join(env.base_path, 'django-dbtemplates'))
     >>> result = run_pip('freeze', expect_stderr=True)
     >>> print result
     Script result: ...ython... ../../pip.py -E .../test-scratch freeze
     -- stdout: --------------------
-    -e hg+http://bitbucket.org/mitsuhiko/pygments-main/@...#egg=Pygments-...
+    -e hg+http://bitbucket.org/jezdez/django-dbtemplates/@...#egg=django_dbtemplates-...
     ...
     <BLANKLINE>
 
-    >>> result = run_pip('freeze', '-f', 'hg+http://bitbucket.org/mitsuhiko/pygments-main#egg=Pygments', expect_stderr=True)
+    >>> result = run_pip('freeze', '-f', 'hg+http://bitbucket.org/jezdez/django-dbtemplates#egg=django_dbtemplates', expect_stderr=True)
     >>> print result
-    Script result: ...ython... ../../pip.py -E .../test-scratch freeze -f hg+http://bitbucket.org/mitsuhiko/pygments-main#egg=Pygments
+    Script result: ...ython... ../../pip.py -E .../test-scratch freeze -f hg+http://bitbucket.org/jezdez/django-dbtemplates#egg=django_dbtemplates
     -- stdout: --------------------
-    -f hg+http://bitbucket.org/mitsuhiko/pygments-main#egg=Pygments
-    -e hg+http://bitbucket.org/mitsuhiko/pygments-main/@...#egg=Pygments-...
+    -f hg+http://bitbucket.org/jezdez/django-dbtemplates#egg=django_dbtemplates
+    -e hg+http://bitbucket.org/jezdez/django-dbtemplates/@...#egg=django_dbtemplates-...
     ...
     <BLANKLINE>
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.