]> git.openstreetmap.org Git - chef.git/commitdiff
Switch to installing python 3 modules on dev
authorTom Hughes <tom@compton.nu>
Sat, 4 Jul 2020 11:53:01 +0000 (12:53 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 4 Jul 2020 12:03:01 +0000 (13:03 +0100)
cookbooks/dev/recipes/default.rb

index 7ad5eafcb711255d2aaf58d487de5be79e4c4578..879e546b706ef25c3cb6784a245ea9341e6b7ebb 100644 (file)
@@ -44,14 +44,13 @@ package %w[
   php-sqlite3
   pngcrush
   pngquant
-  python
-  python-argparse
-  python-beautifulsoup
-  python-cheetah
-  python-dateutil
-  python-magic
-  python-psycopg2
-  python-gdal
+  python3
+  python3-bs4
+  python3-cheetah
+  python3-dateutil
+  python3-magic
+  python3-psycopg2
+  python3-gdal
   g++
   gcc
   make
@@ -75,7 +74,9 @@ package %w[
 
 nodejs_package "svgo"
 
-python_package "geojson"
+python_package "geojson" do
+  python_version "3"
+end
 
 apache_module "env"
 apache_module "expires"