diff --git a/metadata.rb b/metadata.rb index 4a86423..92e317b 100644 --- a/metadata.rb +++ b/metadata.rb @@ -3,7 +3,7 @@ maintainer_email "noah@coderanger.net" license "Apache 2.0" description "Installs Python, pip and virtualenv. Includes LWRPs for managing Python packages with `pip` and `virtualenv` isolated Python environments." -version "1.4.7" +version "1.4.8" depends "build-essential" depends "yum-epel" diff --git a/recipes/package.rb b/recipes/package.rb index 115b53b..d95115a 100644 --- a/recipes/package.rb +++ b/recipes/package.rb @@ -37,6 +37,10 @@ ) end +if platform?('amazon') + python_pkgs = ['python27', 'python27-devel'] +end + python_pkgs.each do |pkg| package pkg do action :install