Django version install
As reported in 105a038d by @njoyard :
This will probably install the wrong django version (setuptools will install 1.9-rcX when told to install <1.9), rather use pip (which does not) or freeze django version in setup.py
For me it does the right version by default on a new virtualenv:
[lqdn_env] 19/10 2016 23:06:16 jpic@lue ~/work/lqdn/political_memory (agrausem/political_memory-docker)
$ virtualenv testenv
Using real prefix '/usr'
New python executable in /home/jpic/work/lqdn/political_memory/testenv/bin/python2
Also creating executable in /home/jpic/work/lqdn/political_memory/testenv/bin/python
Installing setuptools, pip, wheel...testenv/bin/pip insdone.
t
[lqdn_env] 19/10 2016 23:06:34 jpic@lue ~/work/lqdn/political_memory (agrausem/political_memory-docker)
$ testenv/bin/pip install -e .
Obtaining file:///home/jpic/work/lqdn/political_memory
Collecting django-autocomplete-light==3.2.0 (from political-memory==0.0.1)
Collecting django-autoslug<1.10,>=1.9 (from political-memory==0.0.1)
Using cached django_autoslug-1.9.3-py2.py3-none-any.whl
Collecting django-bootstrap3<7,>=6 (from political-memory==0.0.1)
Collecting django-coffeescript<0.8,>=0.7 (from political-memory==0.0.1)
Collecting django-compressor<2,>=1 (from political-memory==0.0.1)
Using cached django_compressor-1.6-py2.py3-none-any.whl
Collecting django-datetime-widget<1.0,>=0.9 (from political-memory==0.0.1)
Collecting django-filter<0.14,>=0.13 (from political-memory==0.0.1)
Using cached django_filter-0.13.0-py2.py3-none-any.whl
Collecting django-fontawesome<0.3,>=0.2 (from political-memory==0.0.1)
Collecting django-rql-filter<0.2,>=0.1.3 (from political-memory==0.0.1)
Collecting django-taggit<0.18,>=0.17 (from political-memory==0.0.1)
Using cached django_taggit-0.17.6-py2.py3-none-any.whl
Collecting django<1.9,>=1.8 (from political-memory==0.0.1)
Using cached Django-1.8.15-py2.py3-none-any.whl
Collecting djangorestframework<4,>=3 (from political-memory==0.0.1)
Using cached djangorestframework-3.4.7-py2.py3-none-any.whl
Collecting hamlpy<0.83,>=0.82 (from political-memory==0.0.1)
Collecting ijson<2.3,>=2.2 (from political-memory==0.0.1)
Using cached ijson-2.2-py2.py3-none-any.whl
Collecting python-dateutil<2.5,>=2.4 (from political-memory==0.0.1)
Using cached python_dateutil-2.4.2-py2.py3-none-any.whl
Collecting unicodecsv<0.15,>=0.14 (from political-memory==0.0.1)
Collecting pytz (from political-memory==0.0.1)
Using cached pytz-2016.7-py2.py3-none-any.whl
Collecting django-suit<0.3,>=0.2 (from political-memory==0.0.1)
Collecting psycopg2<3,>=2 (from political-memory==0.0.1)
Collecting django-appconf>=0.4 (from django-compressor<2,>=1->political-memory==0.0.1)
Using cached django_appconf-1.0.2-py2.py3-none-any.whl
Collecting PyYAML (from django-fontawesome<0.3,>=0.2->political-memory==0.0.1)
Collecting grako<3.13,>=3.12 (from django-rql-filter<0.2,>=0.1.3->political-memory==0.0.1)
Using cached grako-3.12.1-py2.py3-none-any.whl
Collecting markdown (from hamlpy<0.83,>=0.82->political-memory==0.0.1)
Collecting pygments (from hamlpy<0.83,>=0.82->political-memory==0.0.1)
Using cached Pygments-2.1.3-py2.py3-none-any.whl
Collecting six>=1.5 (from python-dateutil<2.5,>=2.4->political-memory==0.0.1)
Using cached six-1.10.0-py2.py3-none-any.whl
Installing collected packages: django-autocomplete-light, django-autoslug, django-bootstrap3, django-coffeescript, django-appconf, django-compressor, pytz, django, django-datetime-widget, django-filter, PyYAML, django-fontawesome, djangorestframework, grako, django-rql-filter, django-taggit, markdown, pygments, hamlpy, ijson, six, python-dateutil, unicodecsv, django-suit, psycopg2, political-memory
Running setup.py develop for political-memory
Successfully installed PyYAML-3.12 django-1.8.15 django-appconf-1.0.2 django-autocomplete-light-3.2.0 django-autoslug-1.9.3 django-bootstrap3-6.2.2 django-coffeescript-0.7.2 django-compressor-1.6 django-datetime-widget-0.9.3 django-filter-0.13.0 django-fontawesome-0.2.6 django-rql-filter-0.1.3 django-suit-0.2.21 django-taggit-0.17.6 djangorestframework-3.4.7 grako-3.12.1 hamlpy-0.82.2 ijson-2.2 markdown-2.6.7 political-memory psycopg2-2.6.2 pygments-2.1.3 python-dateutil-2.4.2 pytz-2016.7 six-1.10.0 unicodecsv-0.14.1
You are using pip version 8.0.0, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[lqdn_env] 19/10 2016 23:07:01 jpic@lue ~/work/lqdn/political_memory (agrausem/political_memory-docker)
$ ./testenv/bin/python -c 'import django; print django.VERSION'
(1, 8, 15, 'final', 0)
If anyone reproduces it please post here.