Sha256: a9e25c4b5f1bcbe5633e8eaaf4dabc86859d9d109f3222a268757d09ba7e1f73

Contents?: true

Size: 564 Bytes

Versions: 4

Compression:

Stored size: 564 Bytes

Contents

# Puppet package provider for Python's `pip3` package management frontend.
# <http://pip.openplans.org/>

require 'puppet/provider/package/pip'

Puppet::Type.type(:package).provide :pip3,
  :parent => :pip do

  desc "Python packages via `pip3`.

  This provider supports the `install_options` attribute, which allows command-line flags to be passed to pip3.
  These options should be specified as a string (e.g. '--flag'), a hash (e.g. {'--flag' => 'value'}),
  or an array where each element is either a string or a hash."

  def self.cmd
    ["pip3"]
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puppet-4.4.0 lib/puppet/provider/package/pip3.rb
puppet-4.4.0-x86-mingw32 lib/puppet/provider/package/pip3.rb
puppet-4.4.0-x64-mingw32 lib/puppet/provider/package/pip3.rb
puppet-4.4.0-universal-darwin lib/puppet/provider/package/pip3.rb