Commit Graph

76 Commits

Author SHA1 Message Date
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Pradyun S. Gedam 1832569530 Sort all imports 2017-05-16 15:47:47 +05:30
luojiebin d0c0cc9e80 Fixed issue #949 (#4414)
* Showed installers when list command runs with -vv option

* Added news entry

* Updated code to show both location and installer of a package when '-v' is used

* Removed installer from freeze format

* Moved get_installer function to pip.utils.packaging
2017-04-06 15:16:18 +02:00
Luo Jiebin 45880ffaf6 Replaced == with >= to deal with multiple v 2017-04-03 18:34:15 +08:00
Luo Jiebin 7917036d3f Remove code for issue #4008 2017-04-03 09:08:18 +08:00
Luo Jiebin 760ae14483 Made list command to respond to '-v' option 2017-04-02 18:45:04 +08:00
Donald Stufft 0b1f521059 Switch the default for pip list to the columns format 2017-03-20 10:49:56 -04:00
Donald Stufft bb41490225 Removed the deprecated --allow-* commands from PEP 438 2017-03-19 20:51:54 -04:00
Atsushi Odagiri ee345ef37b add exclude-editable option to list command (#4016)
* added exclude-editable option to list command

* added include-editable option

* added functional test

* added changes
2017-01-31 13:06:47 +01:00
Donald Stufft 7f1c180e70 Correct the setting name in pip list format deprecation (#4069) 2016-11-03 18:36:56 -04:00
Donald Stufft 81a5bcf7cd Misc updates (#4056)
* Update AUTHORS.txt

* Remove --columns which has been superseded by --format=columns
2016-11-02 14:08:37 -04:00
nvdv 88d2bd8165 Rename --no-deps-only to --not-required. 2016-10-05 15:03:03 +03:00
nvdv bb896cb44c Add functional test for 'list --no-deps-only' option. 2016-09-30 15:07:10 +03:00
nvdv 60429a6e79 Add --no-deps-only option to CHANGES.txt and fix lint warnings. 2016-09-28 11:18:37 +03:00
nvdv e0b23e9ce3 Update 'pip list' docs and simplify get_no_deps_only method. 2016-09-24 10:45:13 +03:00
nvdv 087bdf0b92 Change option name. 2016-09-23 12:09:56 +03:00
nvdv b56248cc08 Rename "list --leaves" to "list --nodeps" and change its implementation. 2016-09-22 16:43:38 +03:00
nvdv e6f92da4a8 Add --leaves option to list command. 2016-09-22 12:02:05 +03:00
Xavier Fernandez 1e8b6c2fe7 Improve tests
Demote "Ignoring indexes" log to DEBUG to enable stdout JSON parsing
2016-05-19 15:31:46 +02:00
Xavier Fernandez 6a7f82bae3 Re-add a deprecation warning + some refactors 2016-05-19 15:31:46 +02:00
Xavier Fernandez 5bbc73d145 Add --format option to pip list
with legacy, columns, freeze and json formats
2016-05-19 15:31:46 +02:00
Douglas Thor 6dcd9dac2e Added --columns, --no-columns option to `pip list`. Fixes #3651 (#3654) 2016-05-12 13:13:48 -04:00
Xavier Fernandez 171a107c34 pip list: reenable prereleases filter
according to --pre option

broken in 7fcf75bb61

closes #3385
2016-01-20 15:12:00 +01:00
Xavier Fernandez 097e36ac27 simplify list --outdated command 2016-01-03 15:07:12 +01:00
Xavier Fernandez 3f21828f75 Unify output of pip list & fix test 2015-11-29 17:37:45 +01:00
Xavier Fernandez 795798f3f0 Allow combination of pip list options
--editable with --outdated/--updtodate
closes #933
2015-11-29 17:37:45 +01:00
Xavier Fernandez c73b1f9fd5 rename to canonicalize_name 2015-09-08 00:18:54 +02:00
Xavier Fernandez 2ff59d1cc0 Add canonical utils function 2015-09-06 19:20:14 +02:00
Donald Stufft 0f5d4286a5 Deprecate and Noop the PEP 438 functionality due to PEP 470 2015-09-02 23:47:05 -04:00
Robert Collins 6aec23cafe Issue #2675: Granular control over wheels/sdists
With wheel autobuilding in place a release blocker is some granular
way to opt-out of wheels for known-bad packages. This patch introduces
two new options: --no-binary and --only-binary to control what
archives we are willing to use on both a global and per-package basis.

This also closes #2084
2015-04-24 08:52:48 +12:00
Robert Collins ec46a3bac4 Replace wheel cache cache_dir with an object.
Wheel cache lookups become more complex when we wish to allow binary
blacklisting. Rather than passing more parameters around, replace
cache_root with wheel_cache, and create a wheel cache in all the
relevant command entry points.
2015-04-23 10:03:50 +12:00
Robert Collins 86b375c742 Create a Search object.
We currently recalculate safe_name on every archive we assess, and
with the upcoming per-package check for binary and source use we
either need to recalculate that too, or - as this patch does - hoist
this essentially static data out of the helper function innards into a
static data structure.
2015-04-22 07:42:41 +12:00
Robert Collins 4926409340 Issue #2563: Read cached wheels from ~/.cache/pip
This won't put wheels into that directory, but will read them if they
are there. --no-cache-dir will disable reading such wheels.
2015-04-13 18:33:07 +12:00
Donald Stufft b7309c6bcc Remove the items deprecated for removal in 7.0 2015-04-07 04:20:51 -04:00
Xavier Fernandez 3fcf5972bc add is_wheel method to Link class 2015-03-05 11:04:41 +01:00
Paul Moore e3cc4656f6 pip list --outdated shows package type for latest version 2015-03-04 14:02:06 +00:00
Donald Stufft 6f64d3e6e2 Implement PEP 440 2014-12-13 13:50:21 -05:00
Donald Stufft 5b817f960b --isolated should isolate from ~/.pydistutils.cfg as well 2014-12-11 11:51:06 -05:00
Donald Stufft ddb2f1b459 Deprecate accessing non secure origins by default
* Deprecates accessing non secure origins by default, the list of
  which is taken from Chrome.
* Adds a --trusted-host flag to enable users to mark a specific
  host as a secure origin regardless of what we think.
* Refactors the original warning to better indicate the intent
  and the new flag.
2014-12-10 16:35:54 -05:00
Paul Moore 56496f6526 Add --user options to pip list and pip freeze 2014-10-14 16:00:52 +01:00
Donald Stufft 0e96b1af4b Switch versioning from X.Y.Z to X.Y dropping the leading 1 2014-09-17 22:05:31 -04:00
Donald Stufft 8f1dec56ee We're passing upgrade to PackageFinder.find_requirement so this won't happen 2014-09-11 10:34:31 -04:00
Donald Stufft 767d11e49c Switch to using the stdlib logger instead of pip.log 2014-09-10 09:36:09 -04:00
Donald Stufft 90688e82b1 Revert "Merge pull request #1519 from dstufft/remove-dependency-links"
This reverts commit da02f073da, reversing
changes made to 2ad8888901.

Conflicts:
	CHANGES.txt
	pip/commands/freeze.py
	pip/commands/list.py
	pip/commands/wheel.py
	pip/index.py
	pip/req/req_set.py
	pip/vcs/subversion.py
2014-08-01 16:50:08 -04:00
Donald Stufft 2298e4ce53 Fix #1657 - Explicitly close the requests session 2014-07-03 12:50:59 -04:00
Matthew Iversen d0e6c2fc54 Update docs to ref sorting order of list/freeze 2014-03-09 05:03:28 +11:00
Marcus Smith bff390eb1e pkg exclusions for pip list/freeze 2014-02-28 20:09:26 -08:00
Donald Stufft 95ac4c16f5 Remove dependency links support from pip 2014-02-25 18:39:40 -05:00
Donald Stufft 2743768b7b Fix the style of the code base to better match pep8 2014-01-27 14:11:29 -05:00
Marc Abramowitz 81eb156c44 Ignore wsgiref in `pip list` also 2013-12-05 22:52:06 -08:00