1CDIST-TYPE__PYVENV(7)                cdist               CDIST-TYPE__PYVENV(7)
2
3
4

NAME

6       cdist-type__pyvenv - Create or remove python virtual environment
7

DESCRIPTION

9       This  cdist type allows you to create or remove python virtual environ‐
10       ment using pyvenv on python3 -m venv.  It  assumes  pyvenv  is  already
11       installed.  Concrete  package  depends  on  concrete  OS and/or OS ver‐
12       sion/distribution.  Ensure this for e.g. in your init  manifest  as  in
13       the following example:
14

REQUIRED PARAMETERS

16       None
17

OPTIONAL PARAMETERS

19       state  Either "present" or "absent", defaults to "present"
20
21       group  Group to chgrp to
22
23       mode   Unix permissions, suitable for chmod
24
25       owner  User to chown to
26
27       pyvenv Use this specific pyvenv
28
29       venvparams
30              Specific parameters to pass to pyvenv invocation
31

EXAMPLES

33          __pyvenv /home/services/djangoenv
34
35          # Use specific pyvenv
36          __pyvenv /home/foo/fooenv --pyvenv /usr/local/bin/pyvenv-3.4
37
38          # Create python virtualenv for user foo.
39          __pyvenv /home/foo/fooenv --group foo --user foo
40
41          # Create python virtualenv with specific parameters.
42          __pyvenv /home/services/djangoenv --venvparams "--copies --system-site-packages"
43

AUTHORS

45       Darko Poljak <darko.poljak--@--gmail.com>
46

COPYING

48       Copyright  (C)  2016 Darko Poljak. Free use of this software is granted
49       under the terms of the GNU General Public License v3 or later (GPLv3+).
50
52       ungleich GmbH 2020
53
54
55
56
576.9.4                            Dec 21, 2020            CDIST-TYPE__PYVENV(7)
Impressum