author | Thierry Florac <thierry.florac@onf.fr> |
Fri, 09 Jun 2017 17:46:19 +0200 | |
changeset 5 | f92dea2a949c |
parent 4 | 74eeb0a982b6 |
child 6 | bc0c0e883c3e |
--- a/hooks/post_gen_project.py Fri Jun 09 17:45:48 2017 +0200 +++ b/hooks/post_gen_project.py Fri Jun 09 17:46:19 2017 +0200 @@ -122,4 +122,9 @@ {%- if cookiecutter.use_oracle %} print("- export ORACLE_HOME=/path/to/your/oracle/client") {%- endif %} +{%- if cookiecutter.need_pyams_gis %} +print("- apt-get install libgdal-dev") +print("- export CPLUS_INCLUDE_PATH=/usr/include/gdal") +print("- export C_INCLUDE_PATH=/usr/include/gdal") +{%- endif %} print("- ./bin/buildout")