I later discovered that it's actually a bug in setuptools 5.5/5.5.1. I'll update the documentation.
On Wednesday, December 2, 2015 at 2:05:52 PM UTC-5, François Schiettecatte wrote: > > I see the error too, no virtualenv or pip here, this is my install > sequence: > > tar zxf Django-1.9.tar.gz > cd Django-1.9 > python3 ./setup.py build > sudo python3 ./setup.py install > > F. > > > On Dec 2, 2015, at 5:31 AM, Luke Granger-Brown <luk...@lukegb.com > <javascript:>> wrote: > > > > On Wed, Dec 2, 2015 at 10:20 AM, Mike <mike...@gmail.com <javascript:>> > wrote: > > pip install django > > Downloading/unpacking django > > Downloading Django-1.9-py2.py3-none-any.whl (6.6MB): 6.6MB downloaded > > Installing collected packages: django > > Compiling > /Users/mike/sieve2/SIEVEENV/build/django/django/conf/app_template/apps.py > ... > > File > "/Users/mike/sieve2/SIEVEENV/build/django/django/conf/app_template/apps.py", > line 4 > > class {{ camel_case_app_name }}Config(AppConfig): > > ^ > > SyntaxError: invalid syntax > > Compiling > /Users/mike/sieve2/SIEVEENV/build/django/django/conf/app_template/models.py > ... > > File > "/Users/mike/sieve2/SIEVEENV/build/django/django/conf/app_template/models.py", > > line 1 > > {{ unicode_literals }}from django.db import models > > ^ > > SyntaxError: invalid syntax > > Successfully installed django > > Cleaning up... > > > > Anyone else see this error? This was in an new virtualenv. > > It's mentioned in the release notes (specifically at > https://docs.djangoproject.com/en/1.9/releases/1.9/#syntaxerror-when-installing-django-with-pip-1-5-6) > > > > > > > > > > On Tuesday, December 1, 2015 at 7:10:41 PM UTC-5, Tim Graham wrote: > > Django 1.9 is now available: > > > > https://www.djangoproject.com/weblog/2015/dec/01/django-19-released/ > > > > With the release of Django 1.9, Django 1.7 has reached end-of-life. > Django 1.7.11 is the final release of the 1.7 series and all users are > encouraged to upgrade to Django 1.8+ as soon as possible so they can > continue to receive security updates. Django 1.8 LTS will receive security > updates until April 2018. Django 1.4 (the previous LTS) reached end of life > on October 1, 2015. See the downloads page [1] for a table of supported > versions and the future release schedule. > > > > [1] https://www.djangoproject.com/download/#supported-versions > > > > -- > > You received this message because you are subscribed to the Google > Groups "Django users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to django-users...@googlegroups.com <javascript:>. > > To post to this group, send email to django...@googlegroups.com > <javascript:>. > > Visit this group at http://groups.google.com/group/django-users. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/04e0e7cb-250a-4eae-8745-4832c8f5eb2f%40googlegroups.com. > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "Django users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to django-users...@googlegroups.com <javascript:>. > > To post to this group, send email to django...@googlegroups.com > <javascript:>. > > Visit this group at http://groups.google.com/group/django-users. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CALE3ZjV-z6wORaLaH4dk1B2FRyHpxC_ttJdaRdoZ9AqHF842gA%40mail.gmail.com. > > > > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/766f0e37-cf8f-40e7-a06b-ade8a9c237c6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.