Browse Source

require 'six' in setup.py, add flask._compat for stuff not yet in 'six'

pull/735/head
Thomas Waldmann 12 years ago
parent
commit
1b753cb1b1
  1. 13
      flask/_compat.py
  2. 1
      setup.py

13
flask/_compat.py

@ -0,0 +1,13 @@
# -*- coding: utf-8 -*-
"""
flask._compat
~~~~~~~~~~~~~
Some py2/py3 compatibility support that is not yet available in
"six" 1.3.0.
There are bugs open for "six" for all this stuff, so we can remove it
again from here as soon as we require a new enough "six" release.
:copyright: (c) 2013 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""

1
setup.py

@ -90,6 +90,7 @@ setup(
zip_safe=False,
platforms='any',
install_requires=[
'six>=1.3.0',
'Werkzeug>=0.7',
'Jinja2>=2.4',
'itsdangerous>=0.17'

Loading…
Cancel
Save