From 2f6315d606043a768356ad1c9f5a907b42576dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raony=20Guimar=C3=A3es?= Date: Mon, 4 Apr 2016 09:58:22 +0200 Subject: [PATCH] changes to suport Ubuntu Xenial --- .../install_os_dependencies.sh | 7 ++- .../requirements.apt.xenial | 44 +++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 {{cookiecutter.repo_name}}/requirements.apt.xenial 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