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

499 commits

Author SHA1 Message Date
Marcus Smith
89a69a016a sort subcommand completion 2012-12-24 21:58:44 -08:00
Marcus Smith
c49f7e0fb2 from '--editables' to --editable' and some minor formatting 2012-12-19 22:08:56 -08:00
Marcus Smith
8a2d220fff get_installed_distributions docstring update 2012-12-17 22:02:01 -08:00
Marcus Smith
aeecefcd22 use editable logic in FrozenRequirement 2012-12-17 21:55:59 -08:00
Marcus Smith
b6d775780b shared options and groups 2012-12-17 21:35:09 -08:00
Marcus Smith
483389bd1d pip list option help updates 2012-12-15 23:31:39 -08:00
Marcus Smith
eb211b2d3a --editables option for 'pip list' 2012-12-15 23:23:20 -08:00
Marcus Smith
3d87366dac editables_only option for util.get_installed_distributions 2012-12-15 23:22:53 -08:00
Marcus Smith
1d94d9b8ed exclude editables for outdated/uptodate checks 2012-12-15 22:52:17 -08:00
Marcus Smith
e752906ff0 include_editables option for util.get_installed_distributions 2012-12-15 22:50:13 -08:00
Marcus Smith
7e9fb6f4ab compare using parsed versions; use get_installed_distributions wrapper; use the dist objects you already have 2012-12-15 20:56:29 -08:00
Marcus Smith
c2b9d9fa60 have list and install commands share the index options 2012-12-15 20:26:21 -08:00
Marcus Smith
49bc592bf2 add list command to registry 2012-12-15 20:23:55 -08:00
Rafael Caricio
c862877ccf Change tests to use mock instead of pytz. 2012-12-15 19:42:29 -08:00
Rafael Caricio
be1083a06c Some fixes after @carljim review. 2012-12-15 19:42:29 -08:00
Rafael Caricio
29972a1b3a Add the --uptodate flag in the list command. 2012-12-15 19:42:28 -08:00
Rafael Caricio
5a02b6674e Basic behaviour of the list command. 2012-12-15 19:42:28 -08:00
Rafael Caricio
0267e8a684 Modifies the outdated command to list command. 2012-12-15 19:42:28 -08:00
Rafael Caricio
ff24b578ba Make the test pass. 2012-12-15 19:42:28 -08:00
Rafael Caricio
8682dfe644 Remove blank spaces. 2012-12-15 19:42:28 -08:00
Miguel Araujo Perez
873d3bc34c Checking requirements before adding them to installations 2012-12-15 19:42:28 -08:00
Miguel Araujo Perez
8111bbb550 Updating pip outdated to use PackageFinder instead. Adding extra options like '--index-url' or '--find-links'. Changing version comparison to use > not !=
All work done here is based on @carljm suggestions made in pull request #235, so that pip outdated gets merged into master asap.
2012-12-15 19:42:28 -08:00
Dmitry Gladkov
91106054ca add outdated pip command 2012-12-15 19:42:28 -08:00
Georgi Valkov
ba87ff2625 exclude unsuppressed parser options from completion 2012-12-15 00:45:49 +02:00
Georgi Valkov
af64773a6e fix command completion 2012-12-14 15:35:00 +02: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
4ec46922ff fix '-h,--help' option for commands 2012-12-11 12:39:57 +02:00
Georgi Valkov
64f4caed7d s/makeopt/optparse.make_option 2012-12-11 12:17:14 +02:00
Georgi Valkov
7193bf919a set option group title to '$CommandName Options' 2012-12-10 14:34:29 +02:00
Georgi Valkov
416ab39519 'Command Options' for the show command 2012-12-10 03:30:17 +02:00
Georgi Valkov
8b1836b401 'Command Options' for the uninstall command 2012-12-10 03:30:17 +02:00
Georgi Valkov
8f00079a4b 'Command Options' for the zip command 2012-12-10 03:30:17 +02:00
Georgi Valkov
6d8b55a39b 'Command Options' for the search command 2012-12-10 03:30:12 +02:00
Georgi Valkov
192f1552bc 'Command Options' for the freeze command 2012-12-10 03:24:48 +02:00
Georgi Valkov
b34feacbf9 add the Command.gen_opts option group
Note that commands still have to add the option group to the parser
once they populate it with options (self.parser.add_option_group).
2012-12-10 03:22:28 +02:00
Georgi Valkov
2c09666c31 split install options into 'Command Options' and 'Package Index Options' 2012-12-10 03:14:39 +02:00
Georgi Valkov
8def93c181 add missing import and remove default help option 2012-12-10 03:06:05 +02:00
Georgi Valkov
dabedd5b0e remove temporary fix 2012-12-10 03:04:47 +02:00
Georgi Valkov
33c101933f set indent_increment to 1 2012-12-10 03:03:02 +02:00
Georgi Valkov
5f69e258a7 add baseparser options to the 'General Options' group 2012-12-10 03:00:15 +02:00
Georgi Valkov
841ae62768 ensure that there is a newline between usage and options 2012-12-10 02:50:04 +02:00
Marcus Smith
3a8f69b4d0 Merge pull request #721 from gvalkov/rework-commands-v2
Rework command handling v2
2012-12-07 14:45:11 -08:00
Georgi Valkov
2559c784bb align command list with options 2012-12-07 12:25:03 +02:00
Georgi Valkov
715c7eff71 fix error output
`pip help <misspelled>` should return the same error message as `pip
<misspelled>`, namely:

  ERROR: unknown command "enstall" - maybe you meant "install"
2012-12-06 17:25:40 +02:00
Georgi Valkov
e103e549d7 fix bare except statement 2012-12-06 17:25:28 +02:00
Georgi Valkov
7f4503b9e2 pep8 fixes 2012-12-06 17:25:19 +02:00
Marcus Smith
4c8ac16ec0 patch dist_in_site_packages for user_site tests 2012-11-19 09:38:20 -08:00
Marcus Smith
d882827e3f comments on 'unnamed' requirements 2012-11-14 12:44:05 -08:00
Marcus Smith
dc5e825d4e upper case url reqs should be recognized as same as other lower case forms 2012-11-13 21:29:58 -08:00
Georgi Valkov
774605139b make monkey-patching work again in tests/test_user_site.py
Monkey-patching 'pip.util.dist_in_site_packages' through
'sitecustomize.py' in 'tests/test_user_site.py' wasn't working unless
the fully qualitifed path to 'dist_in_site_packages' was
used.
2012-11-10 19:50:59 +02:00