Syntax error during Python 2.5 install?

Issue #48 duplicate
Anonymous created an issue

/Library/Python/2.5/site-packages/admin_tools/tests.py:8: Warning: 'with' will become a reserved keyword in Python 2.6 File "/Library/Python/2.5/site-packages/admin_tools/tests.py", 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+http://izi@bitbucket.org/izi/django-admin-tools/#egg=django_admin_tools
    Obtaining django-admin-tools from hg+http://izi@bitbucket.org/izi/django-admin-tools/#egg=django_admin_tools
      Cloning hg http://izi@bitbucket.org/izi/django-admin-tools/ to ./src/django-admin-tools
      Running setup.py egg_info for package django-admin-tools
    Installing collected packages: django-admin-tools
      Running setup.py 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...
    

    Regards,

    -- David

    Duplicate of #40.

  2. Log in to comment