mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-14 05:36:58 +03:00
changes to suport Ubuntu Xenial
This commit is contained in:
parent
3d3ec182d7
commit
2f6315d606
|
@ -1,7 +1,12 @@
|
||||||
#!/bin/bash
|
#!/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
|
# Handle call with wrong command
|
||||||
function wrong_command()
|
function wrong_command()
|
||||||
{
|
{
|
||||||
|
|
44
{{cookiecutter.repo_name}}/requirements.apt.xenial
Normal file
44
{{cookiecutter.repo_name}}/requirements.apt.xenial
Normal file
|
@ -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
|
Loading…
Reference in New Issue
Block a user