File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ These options must be defined before the mandatory arguments.
162
162
**Notice: **
163
163
164
164
The `PyYAML package <https://pypi.org/project/PyYAML/ >`_ is required to use the yaml output option.
165
- You need to install it separately using ``pip install PyYAML ``
165
+ You need to install it explicitly using ``pip install python-gitlab[yaml] ``
166
166
167
167
``--fields ``, ``-f ``
168
168
Comma-separated list of fields to display (``yaml `` and ``json `` output
Original file line number Diff line number Diff line change @@ -45,5 +45,8 @@ def get_version():
45
45
"Programming Language :: Python :: 3.7" ,
46
46
"Programming Language :: Python :: 3.8" ,
47
47
],
48
- extras_require = {"autocompletion" : ["argcomplete>=1.10.0,<2" ]},
48
+ extras_require = {
49
+ "autocompletion" : ["argcomplete>=1.10.0,<2" ],
50
+ "yaml" : ["PyYaml>=5.2" ],
51
+ },
49
52
)
You can’t perform that action at this time.
0 commit comments