]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/recipes/default.rb
nominatim: add pyosmium to virtual env
[chef.git] / cookbooks / nominatim / recipes / default.rb
index a025211c6f70cd3f03f5a8aa070895aa5e0bbdac..1d0ffe44ab23073cd3ee9968626335e7fe1f44a6 100644 (file)
@@ -219,6 +219,7 @@ elsif node[:nominatim][:api_flavour] == "python"
   python_package "jinja2" do
     python_virtualenv python_directory
     version "3.1.4"
   python_package "jinja2" do
     python_virtualenv python_directory
     version "3.1.4"
+  end
 
   python_package "datrie" do
     python_virtualenv python_directory
 
   python_package "datrie" do
     python_virtualenv python_directory
@@ -228,6 +229,12 @@ elsif node[:nominatim][:api_flavour] == "python"
   python_package "psutil" do
     python_virtualenv python_directory
     version "6.0.0"
   python_package "psutil" do
     python_virtualenv python_directory
     version "6.0.0"
+  end
+
+  python_package "osmium" do
+    python_virtualenv python_directory
+    version "3.7.0"
+  end
 end
 
 source_directory = "#{basedir}/src/nominatim"
 end
 
 source_directory = "#{basedir}/src/nominatim"