Install python3-dev if use_python2==n

By default, ubuntu-based distros would install python2-dev if you
install python-dev.
python3-dev should be installed explicitly if we're not using python2.
This commit is contained in:
Eman Calso 2016-05-24 02:30:48 +08:00
parent 6915c2c89a
commit d2e4dfc851

View File

@ -3,7 +3,11 @@
build-essential
#required to translate
gettext
{% if cookiecutter.use_python2 == 'n' -%}
python3-dev
{% else %}
python-dev
{%- endif %}
##shared dependencies of:
##Pillow, pylibmc