diff --git a/{{cookiecutter.repo_name}}/install_os_dependencies.sh b/{{cookiecutter.repo_name}}/install_os_dependencies.sh index aea9dec4..73069cd0 100755 --- a/{{cookiecutter.repo_name}}/install_os_dependencies.sh +++ b/{{cookiecutter.repo_name}}/install_os_dependencies.sh @@ -1,7 +1,12 @@ #!/bin/bash -OS_REQUIREMENTS_FILENAME="requirements.apt" +VER=$(lsb_release -sr) +if [ "$VER" == "16.04" ]; then + OS_REQUIREMENTS_FILENAME="requirements.apt.xenial" +else + OS_REQUIREMENTS_FILENAME="requirements.apt" +fi # Handle call with wrong command function wrong_command() { diff --git a/{{cookiecutter.repo_name}}/requirements.apt.xenial b/{{cookiecutter.repo_name}}/requirements.apt.xenial new file mode 100644 index 00000000..f29f6b40 --- /dev/null +++ b/{{cookiecutter.repo_name}}/requirements.apt.xenial @@ -0,0 +1,44 @@ +##basic build dependencies of various Django apps for Ubuntu 14.04 +#build-essential metapackage install: make, gcc, g++, +build-essential +#required to translate +gettext +python-dev + +##shared dependencies of: +##Pillow, pylibmc +zlib1g-dev + +##Postgresql and psycopg2 dependencies +libpq-dev + +##Pillow dependencies +libtiff5-dev +libjpeg8-dev +libfreetype6-dev +liblcms2-dev +libwebp-dev + + +##django-extensions +graphviz-dev + +##hitch +python-setuptools +python3-dev +python-virtualenv +python-pip +firefox +automake +libtool +libreadline6 +libreadline6-dev +libreadline-dev +libsqlite3-dev +libxml2 +libxml2-dev +libssl-dev +libbz2-dev +wget +curl +llvm