Syntax error during Python 2.5 install?

Issue #48 duplicate
Anonymous created an issue

/Library/Python/2.5/site-packages/admin_tools/ Warning: 'with' will become a reserved keyword in Python 2.6 File "/Library/Python/2.5/site-packages/admin_tools/", line 8 with warnings.catch_warnings(record=True) as w: ^ SyntaxError: invalid syntax

running install_egg_info Removing /Library/Python/2.5/site-packages/django_admin_tools-0.3.0-py2.5.egg-info Writing /Library/Python/2.5/site-packages/django_admin_tools-0.3.0-py2.5.egg-info

Comments (2)

  1. David Jean Louis repo owner

    I'm closing this issue, because I can confirm that admin_tools install correctly on python 2.5:

    $ python -V
    Python 2.5.2
    $ sudo pip install -e hg+
    Obtaining django-admin-tools from hg+
      Cloning hg to ./src/django-admin-tools
      Running egg_info for package django-admin-tools
    Installing collected packages: django-admin-tools
      Running develop for django-admin-tools
        Creating /usr/lib/python2.5/site-packages/django-admin-tools.egg-link (link to .)
        Adding django-admin-tools 0.3.0 to easy-install.pth file
        Installed /home/ibox2/src/django-admin-tools
    Successfully installed django-admin-tools
    Cleaning up...


    -- David

    Duplicate of #40.

  2. Log in to comment