1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

30 commits

Author SHA1 Message Date
Donald Stufft
f16de42863 Merge pull request #4485 from pradyunsg/isort-only
Sort all imports
2017-05-18 15:58:28 -04:00
Pradyun S. Gedam
975c39ab86 Allow commands to opt out of --require-venv 2017-05-18 18:50:01 +05:30
Pradyun S. Gedam
1832569530 Sort all imports 2017-05-16 15:47:47 +05:30
Steve (Gadget) Barnes
d4b77a0875 Removed if line:, etc. for shorter cleaner code
As per @xavfernandez suggested edit this is cleaner.
2016-10-27 11:36:46 +01:00
Steve Barnes
9db1be996e Changed show not to break on first empty line processing metadata for classifiers. Adresses #4027 2016-10-24 04:04:02 +01:00
Maxim Kurnikov
84e9265970 add canonicalize_name() call to show 2016-10-11 17:09:41 +02:00
Connor Osborn
8e9fca27d8 Follow pattern where field is set if value exists 2016-07-26 18:59:22 -07:00
Connor Osborn
e32d7430f0 Make pip show less verbose
pip --verbose will show all the fields, that pip was displaying.
2016-07-26 18:59:16 -07:00
Jakub Wilk
6dc28c1b31 Fix typos 2016-06-10 21:29:43 +02:00
Xavier Fernandez
09233da9d7 Hide the line if installer is unknown 2016-03-04 16:10:59 +01:00
Xavier Fernandez
dc533f8469 show: add PEP376 INSTALLER information
closes #3517
2016-03-04 13:55:39 +01:00
Xavier Fernandez
a0d6210905 pip.show: always show classifiers 2016-03-04 11:12:34 +01:00
Xavier Fernandez
dc1e89d854 Add --classifiers option to pip show 2016-03-04 11:12:11 +01:00
Ville Skyttä
8e436d994d Let logging format messages on demand 2016-01-03 00:21:59 +02:00
Matthew Iversen
f70aac4457 Show entry points for dist-info installed packages
Also make dist['files'] logic slightly more straight forward.
2015-09-21 04:21:20 +10:00
Marc Abramowitz
ff79f3cb8d Make pip show show much more metadata
New fields:
  - Metadata-Version
  - Summary
  - Home-Page
  - Author
  - Author-email
  - License
  - Entry-points

Sample output:

    $ pip show pytest
    ---
    Metadata-Version: 1.1
    Name: pytest
    Version: 2.6.4
    Summary: pytest: simple powerful testing with Python
    Home-page: http://pytest.org
    Author: Holger Krekel, Benjamin Peterson, Ronny Pfannschmidt, Floris Bruynooghe and others
    Author-email: holger at merlinux.eu
    License: MIT license
    Location: /Users/marca/python/virtualenvs/tmp-4e2169280f5cbd16/lib/python3.4/site-packages
    Requires: py
    Entry points:
      [console_scripts]
      py.test = pytest:main
      py.test-3.4 = pytest:main
2014-12-19 09:44:58 -08:00
Simeon Visser
52849b71be Updated show command to return a status code 2014-12-16 00:06:56 +00:00
Donald Stufft
767d11e49c Switch to using the stdlib logger instead of pip.log 2014-09-10 09:36:09 -04:00
Richard Jones
66d26ca8b4 Correct paths reported so they are relative to the reported location of the package
fixes #1932
2014-07-16 16:36:46 +02:00
Matthew Iversen
4ef2dca0d7 Allow pip to show files installed for wheels
- shortened looping logic in search_packages_info
- added logic to find installed files for .dist-info's
- Seemed to be off-by-one error for assert exceptions in test_show_with_files_not_found
- changed ..._with_files_not_found to use an editable install for being unlistable
- added test to assert a wheel's files are now listed :D
2014-03-12 16:31:41 +11:00
Donald Stufft
2743768b7b Fix the style of the code base to better match pep8 2014-01-27 14:11:29 -05:00
Donald Stufft
073ae0d0b1 Switch to importing the vendored pkg_resources 2014-01-07 04:47:04 -05:00
Jannis Leidel
7db3d03e1a Moved the command description into the command class docstring to follow Python best practices. 2013-02-16 19:00:29 +01:00
Marcus Smith
ab9ea197bd improved docs and cli help 2013-01-18 13:25:15 -08:00
Georgi Valkov
b26cdee1e6 move command options before general options
Add a new base parser class 'CustomOptionParser' that provides the
'insert_option_group(idx, *, **)' method for inserting an option group
at a specific position.
2012-12-12 15:06:05 +02:00
Georgi Valkov
416ab39519 'Command Options' for the show command 2012-12-10 03:30:17 +02:00
Georgi Valkov
46a21751b8 add the base_parser argument to all Command instances 2012-11-10 15:34:53 +02:00
Georgi Valkov
7427eca00b remove global command instances
Rework the way commands are defined, loaded and ran in pip:

 - Commands are instantiated on demand in pip.main().

 - A command 'registry' - mapping of command names to command classes in
   pip.commands.__init__.

 - Remove deferred command module loading.
2012-11-10 15:30:16 +02:00
Carl Meyer
28aeb03b08 Add dependencies information to 'show' command. 2012-09-21 11:15:24 -06:00
Carl Meyer
8c9a241fb2 Rename 'status' command 'show'. 2012-09-12 10:39:19 -06:00
Renamed from pip/commands/status.py (Browse further)