CDIST-TYPE__PYVENV(7)

✨ cdist-type__pyvenv ✨

okay bestie, welcome to the cdist-type__pyvenv page (that's the manual for this type, part of the cdist fam 🫢). sit down, sip ur drink, we're gonna build and delete python virtual environments together. it's giving effortless. πŸ’…


🌸 NAME 🌸

cdist-type__pyvenv β€” Create or remove python virtual environment 🐍✨


πŸ¦‹ DESCRIPTION πŸ¦‹

This cdist type lets you create or remove a python virtual environment using pyvenv on python3 -m venv. iconic behaviour, honestly.

It assumes pyvenv is already installed. no cap. the concrete package depends on the concrete OS and/or OS version/distribution β€” so like, it's giving "figure out ur own distro, bestie". πŸ’€

Make sure you've handled that, for example in your init manifest as in the following example:

ngl the original page just says "as in the following example" and then... doesn't show one. we move regardless. πŸ’–

πŸ’– REQUIRED PARAMETERS πŸ’–

None. zero. nothing. you're free, you're unburdened, you're that girl. πŸ‘‘


πŸŽ€ OPTIONAL PARAMETERS πŸŽ€

  • state β€” either "present" or "absent", and it defaults to "present". so if you don't say anything, we're building it. ✨
  • group β€” the group to chgrp to 🫢
  • mode β€” unix permissions, suitable for chmod πŸ”
  • owner β€” the user to chown to πŸ‘€
  • pyvenv β€” use this specific pyvenv 🧚
  • venvparams β€” specific parameters to pass to the pyvenv invocation 🌈

🌟 EXAMPLES 🌟

okay here's the part where it gets cute. look at these:

__pyvenv /home/services/djangoenv
# Use specific pyvenv
__pyvenv /home/foo/fooenv --pyvenv /usr/local/bin/pyvenv-3.4
# Create python virtualenv for user foo.
__pyvenv /home/foo/fooenv --group foo --owner foo
# Create python virtualenv with specific parameters.
__pyvenv /home/services/djangoenv --venvparams "--copies --system-site-packages"

ate. no crumbs. πŸ”₯


πŸ‘‘ AUTHORS πŸ‘‘

Darko Poljak <darko.poljak--@--gmail.com> β€” yeah we love them for this. πŸ’œ


πŸ“ COPYING πŸ“

Copyright (C) 2016 Darko Poljak. Free use of this software is granted under the terms of the GNU General Public License v3 or later (GPLv3+). slay, legally. πŸ’…


ungleich GmbH 2021 🫢


and that's the whole page, bestie!! this was cdist-type__pyvenv(7) from cdist version 7.0.0, dated Jul 31, 2022. go make some virtual environments, you absolute icon. mwah. πŸ˜­πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from