CDIST-TYPE__PACKAGE_PIP(7)
πΈ NAME πΈ
okay bestie, welcome to cdist-type__package_pip π β it's a cdist manual page (section 7, periodt), and it's literally just: Manage packages with pip. that's the whole vibe. let's get into it π«Ά
β¨ DESCRIPTION β¨
so here's the tea β β Pip is what we use in Python environments to install packages. that's its whole job. it's also included in the python virtualenv environment, so if you're living that virtualenv life, pip is already in the building π
π REQUIRED PARAMETERS π
None. not a single one. zero. free. unbothered. β¨
π OPTIONAL PARAMETERS π
nameβ if you supply this, it uses the name you gave instead of the object id as the package name. cute little override, iykyk.extraβ extra optional dependencies that should be installed along with the selected package. you can specify it multiple times, and you can also pass multiple extras in one--extraas a comma-separated list. π
heads up bestie: extra optional dependencies will be installed even when the base package is already installed. also notice that the type will not remove installed extras that aren't explicitly named for the type, because pip does not offer a management for orphaned packages and they may be used by other packages. so like, no cleanup, no take-backs π«
pipβ instead of using pip fromPATH, use the specific pip path. main character pip, your choice πstateβ either"present"or"absent", defaults to"present".runasβ run pip as the specified user. by default it runs as root. π
π₯ EXAMPLES π₯
# Install a package
__package_pip pyro --state present
# Use pip in a virtualenv located at /root/shinken_virtualenv
__package_pip pyro --state present --pip /root/shinken_virtualenv/bin/pip
# Use pip in a virtualenv located at /foo/shinken_virtualenv as user foo
__package_pip pyro --state present --pip /foo/shinken_virtualenv/bin/pip --runas foo
# Install package with optional dependencies
__package_pip mautrix-telegram --extra speedups --extra webp_convert --extra hq_thumbnails
# the extras can also be specified comma-separated
__package_pip mautrix-telegram --extra speedups,webp_convert,hq_thumbnails --extra postgres
# or take all extras
__package_pip mautrix-telegram --extra all
π SEE ALSO π
cdist-type__package(7)β go read that one next, bestie, it's giving sibling energy π
π AUTHORS π
- Nico Schottelius
<nico-cdist--@--schottelius.org> - Matthias Stecher
<matthiasstecher--@--gmx.de>
π¦ COPYING π¦
Copyright (C) 2012 Nico Schottelius, 2021 Matthias Stecher. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
π COPYRIGHT π
ungleich GmbH 2021
and that's the whole page, bestie π₯Ήπ this was version 7.0.0 from Jul 31, 2022, brought to you by the cdist girlies. go install something slay. periodt β¨π
π
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms