2bi0 S SK r S SKrS SKJr S SKJrJrJrJrJ r J
r
Jr S SKJ
r
S SKJr S SKJr S SKJr S SKJr S S KJr S S
KJr S SKJrJr S SKJr S S
KJ r S SK!J"r" S SK#J$r$J%r% \( a S SK&J'r' " S S\5 r(\ \( r)\RT " \+5 r, " S S\5 r-SSS\S\
\\\. \\. 4 4S jr/SSS\S\.4S jr0g) N)Values)
TYPE_CHECKING GeneratorListOptionalSequenceTuplecastcanonicalize_name)
cmdoptions)IndexGroupCommand)SUCCESS)CommandError)
LinkCollector)
PackageFinder)BaseDistributionget_environment)SelectionPreferences)
PipSession)stdlib_pkgs)tabulatewrite_output)DistributionVersionc . \ rS rSr% Sr\\S' \\S' Srg)_DistWithLatestInfo zGive the distribution object a couple of extra fields.
These will be populated during ``get_outdated()``. This is dirty but
makes the rest of the code much cleaner.
latest_versionlatest_filetype N) __name__
__module____qualname____firstlineno____doc__r __annotations__str__static_attributes__r ڍ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_internal/commands/list.pyr r s ,+r) r c \ rS rSrSrSrSrSS jrS\S \ S\
4S
jrS\S\\
S\4S jrS
SS\SS4S jrS
SS\SS4S jrS
SS\SS4S jrS
SS\S\S 4S jrS
SS\SS4S jrS\\\
S\\
SS4S jrSrg)ListCommand' zh
List installed packages, including editables.
Packages are listed in a case-insensitive sorted order.
Tz
%prog [options]returnNc U R R SSSSSS9 U R R SSSSS S9 U R R S
SSSSS9 U R R S
SSSSS9 U R R SSSSSS9 U R R [ R " 5 5 U R R SSSSS9 U R R SSSSSSS9 U R R SSSSS 9 U R R S!S"S#S$S 9 U R R S%SS#S&S'S(9 U R R [ R " 5 5 [ R
" [ R U R 5 nU R R S)U5 U R R S)U R 5 g )*Nz-oz
--outdated
store_trueFzList outdated packages)actiondefaulthelpz-uz
--uptodatezList uptodate packagesz-ez
--editablezList editable projects.z-lz--localzSIf in a virtualenv that has global access, do not list globally-installed packages.z--useruserz,Only output packages installed in user-site.)destr1 r2 r3 z--prezYInclude pre-release and development versions. By default, pip only finds stable versions.z--formatstorelist_formatcolumns)r8 freezejsonzSelect the output format among: columns (default), freeze, or json. The 'freeze' format cannot be used with the --outdated option.)r1 r5 r2 choicesr3 z--not-requirednot_requiredz>List packages that are not dependencies of installed packages.)r1 r5 r3 z--exclude-editablestore_falseinclude_editablez%Exclude editable package from output.z--include-editablez%Include editable package from output.T)r1 r5 r3 r2 r ) cmd_opts
add_optionr
list_pathlist_excludemake_option_groupindex_groupparserinsert_option_group)self
index_optss r* add_optionsListCommand.add_options2 s
) !
) !
* !
/
!
? !
!5!5!78
2 !
1Q !
Q !
#8 !
#8 !
!8!8!:;11*2H2H$++V
'':6''4==9r) optionssessionc | [ R " X!S9n[ SUR S9n[ R " UUS9$ )z;
Create a package finder appropriate to this list command.
)rK F)allow_yankedallow_all_prereleases)link_collectorselection_prefs)r creater prer )rG rK rL rP rQ s r* _build_package_finder!ListCommand._build_package_finder sE '--gG /")++
##)+
r) argsc : UR ( a UR ( a [ S5 eUR ( a UR S:X a [ S5 e[ R
" U5 [
[ 5 nUR ( a" UR S UR 5 5 [ UR 5 R UR UR UR UR US9 Vs/ s H n[# SU5 PM nnUR$ ( a U R' XQ5 nUR ( a U R) XQ5 nO"UR ( a U R+ XQ5 nU R- XQ5 [. $ s snf )Nz5Options --outdated and --uptodate cannot be combined.r9 z?List format 'freeze' cannot be used with the --outdated option.c 3 8 # U H n[ U5 v M g 7fNr ).0ns r*