mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Added OS requirements for Debian Jessie. (#630)
This commit is contained in:
parent
de2260fd3e
commit
fc4077a3ff
|
@ -6,9 +6,9 @@ DISTRO_NAME=$(lsb_release -sc)
|
||||||
OS_REQUIREMENTS_FILENAME="$WORK_DIR/requirements-$DISTRO_NAME.apt"
|
OS_REQUIREMENTS_FILENAME="$WORK_DIR/requirements-$DISTRO_NAME.apt"
|
||||||
|
|
||||||
|
|
||||||
if [ "$DISTRO_NAME" != "xenial" ] && [ "$DISTRO_NAME" != "trusty" ]; then
|
if [ "$DISTRO_NAME" != "xenial" ] && [ "$DISTRO_NAME" != "trusty" ] && [ "$DISTRO_NAME" != "jessie" ]; then
|
||||||
echo "Only the Ubuntu 14.04 (Trusty) and 16.04 (Xenial) is supported by this script";
|
echo "Only the Ubuntu 14.04 (Trusty), 16.04 (Xenial) and Debian 8.x (Jessie) is supported by this script";
|
||||||
echo "You can see requirements-trusty.apt or requirements-xenial.apt file to help search the equivalent package in your system";
|
echo "You can see requirements-trusty.apt, requirements-xenial.apt or requirements-jessie.apt file to help search the equivalent package in your system";
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
##basic build dependencies of various Django apps for Debian Jessie 8.x
|
||||||
|
#build-essential metapackage install: make, gcc, g++,
|
||||||
|
build-essential
|
||||||
|
#required to translate
|
||||||
|
gettext
|
||||||
|
{% if cookiecutter.use_python2 == 'n' -%}
|
||||||
|
python3-dev
|
||||||
|
{% else %}
|
||||||
|
python-dev
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
|
##shared dependencies of:
|
||||||
|
##Pillow, pylibmc
|
||||||
|
zlib1g-dev
|
||||||
|
|
||||||
|
##Postgresql and psycopg2 dependencies
|
||||||
|
libpq-dev
|
||||||
|
|
||||||
|
##Pillow dependencies
|
||||||
|
libtiff5-dev
|
||||||
|
libjpeg62-turbo-dev
|
||||||
|
libfreetype6-dev
|
||||||
|
liblcms2-dev
|
||||||
|
libwebp-dev
|
||||||
|
|
||||||
|
##django-extensions
|
||||||
|
graphviz-dev
|
Loading…
Reference in New Issue
Block a user