Class: PoisePython::Resources::PipRequirements::Resource
- Inherits:
-
Chef::Resource
- Object
- Chef::Resource
- PoisePython::Resources::PipRequirements::Resource
- Includes:
- PythonCommandMixin
- Defined in:
- lib/poise_python/resources/pip_requirements.rb
Overview
A pip_requirements
resource to install packages from a requirements.txt
file using pip.
Instance Attribute Summary collapse
-
#cwd ⇒ String
Directory to run pip from.
-
#group ⇒ String, ...
System group to install the package.
-
#options ⇒ String, ...
Options string to be used with
pip install
. -
#path ⇒ String
Path to the requirements file, or a folder containing the requirements file.
-
#user ⇒ String, ...
System user to install the package.
Instance Attribute Details
#cwd ⇒ String
Directory to run pip from. Defaults to the folder containing the requirements.txt.
53 |
# File 'lib/poise_python/resources/pip_requirements.rb', line 53 attribute(:cwd, kind_of: String, default: lazy { default_cwd }) |
#group ⇒ String, ...
System group to install the package.
57 |
# File 'lib/poise_python/resources/pip_requirements.rb', line 57 attribute(:group, kind_of: [String, Integer, NilClass]) |
#options ⇒ String, ...
Options string to be used with pip install
.
61 |
# File 'lib/poise_python/resources/pip_requirements.rb', line 61 attribute(:options, kind_of: [String, NilClass, FalseClass]) |
#path ⇒ String
Path to the requirements file, or a folder containing the requirements file.
48 |
# File 'lib/poise_python/resources/pip_requirements.rb', line 48 attribute(:path, kind_of: String, name_attribute: true) |
#user ⇒ String, ...
System user to install the package.
65 |
# File 'lib/poise_python/resources/pip_requirements.rb', line 65 attribute(:user, kind_of: [String, Integer, NilClass]) |