Open anntzer opened 8 years ago
In the meantime, you can output a list of extras with importlib_metadata:
>>> import importlib_metadata
>>> importlib_metadata.metadata('xonsh').get_all('Provides-Extra')
['linux', 'mac', 'proctitle', 'ptk', 'pygments', 'win']
>>> importlib_metadata.metadata('xonsh').get_all('Requires-Dist')
["distro; extra == 'linux'", "gnureadline; extra == 'mac'", "setproctitle; extra == 'proctitle'", "prompt-toolkit; extra == 'ptk'", "pygments (>=2.2); extra == 'pygments'", "win-unicode-console; extra == 'win'"]
Description:
extras_requires cannot be displayed using
pip show
What I've run:
Within a virtualenv:
More generally, an query UI/API for extras would be nice (especially if it doesn't involve installation -- but that also applies to a query UI/API for dependencies).