1CDIST-TYPE__PYVENV(7) cdist CDIST-TYPE__PYVENV(7)
2
3
4
6 cdist-type__pyvenv - Create or remove python virtual environment
7
9 This cdist type allows you to create or remove python virtual environā
10 ment using pyvenv. It assumes pyvenv is already installed. Concrete
11 package depends on concrete OS and/or OS version/distribution. Ensure
12 this for e.g. in your init manifest as in the following example:
13
15 None
16
18 state Either "present" or "absent", defaults to "present"
19
20 group Group to chgrp to
21
22 mode Unix permissions, suitable for chmod
23
24 owner User to chown to
25
26 pyvenv Use this specific pyvenv
27
28 venvparams
29 Specific parameters to pass to pyvenv invocation
30
32 __pyvenv /home/services/djangoenv
33
34 # Use specific pyvenv
35 __pyvenv /home/foo/fooenv --pyvenv /usr/local/bin/pyvenv-3.4
36
37 # Create python virtualenv for user foo.
38 __pyvenv /home/foo/fooenv --group foo --user foo
39
40 # Create python virtualenv with specific parameters.
41 __pyvenv /home/services/djangoenv --venvparams "--copies --system-site-packages"
42
44 Darko Poljak <darko.poljak--@--gmail.com>
45
47 Copyright (C) 2016 Darko Poljak. Free use of this software is granted
48 under the terms of the GNU General Public License v3 or later (GPLv3+).
49
51 ungleich GmbH 2019
52
53
54
55
566.3.0 Dec 12, 2019 CDIST-TYPE__PYVENV(7)