yourlabs / django-session-security

A little javascript and middleware work together to ensure that the user was active during the past X minutes in any tab he has open. Otherwise, display a warning leaving a couple of minutes to show any kind of activity like moving the mouse. Otherwise, logout the user.
http://django-session-security.rtfd.org
MIT License
309 stars 142 forks source link

Added charset to setup.py #120

Closed nirgal closed 5 years ago

nirgal commented 5 years ago
author='∞'

makes the file non ascii-7 and thus requires explicit charset definition. Not doing so breaks pybuilld:

I: pybuild base:217: python2.7 setup.py clean 
  File "setup.py", line 47
SyntaxError: Non-ASCII character '\xe2' in file setup.py on line 47, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
E: pybuild pybuild:338: clean: plugin distutils failed with: exit code=1: python2.7 setup.py clean