Permalink
Browse files

* Move from ext/ folder structure to the more common root structure.

  • Loading branch information...
1 parent d4ac466 commit 7650870f2c01798766c0ebee24162a9ee2a67611 @dannyakakong committed Dec 13, 2014
Showing with 4 additions and 28,083 deletions.
  1. +0 −1 ext/__init__.py
  2. +0 −50 ext/flask/__init__.py
  3. +0 −73 ext/flask/_compat.py
  4. +0 −1,842 ext/flask/app.py
  5. +0 −401 ext/flask/blueprints.py
  6. +0 −168 ext/flask/config.py
  7. +0 −394 ext/flask/ctx.py
  8. +0 −87 ext/flask/debughelpers.py
  9. +0 −29 ext/flask/ext/__init__.py
  10. +0 −120 ext/flask/exthook.py
  11. +0 −44 ext/flask/globals.py
  12. +0 −875 ext/flask/helpers.py
  13. +0 −228 ext/flask/json.py
  14. +0 −45 ext/flask/logging.py
  15. +0 −42 ext/flask/module.py
  16. +0 −327 ext/flask/sessions.py
  17. +0 −55 ext/flask/signals.py
  18. +0 −143 ext/flask/templating.py
  19. +0 −124 ext/flask/testing.py
  20. +0 −149 ext/flask/views.py
  21. +0 −184 ext/flask/wrappers.py
  22. +0 −10 ext/humanize/__init__.py
  23. +0 −7 ext/humanize/compat.py
  24. +0 −39 ext/humanize/filesize.py
  25. +0 −49 ext/humanize/i18n.py
  26. +0 −239 ext/humanize/locale/fr_FR/LC_MESSAGES/humanize.po
  27. +0 −238 ext/humanize/locale/ko_KR/LC_MESSAGES/humanize.po
  28. +0 −239 ext/humanize/locale/ru_RU/LC_MESSAGES/humanize.po
  29. +0 −116 ext/humanize/number.py
  30. +0 −168 ext/humanize/time.py
  31. +0 −1 ext/memcache/__init__.py
  32. +0 −1,417 ext/memcache/memcache.py
  33. +0 −77 ext/requests/__init__.py
  34. +0 −390 ext/requests/adapters.py
  35. +0 −120 ext/requests/api.py
  36. +0 −196 ext/requests/auth.py
  37. +0 −5,026 ext/requests/cacert.pem
  38. +0 −24 ext/requests/certs.py
  39. +0 −115 ext/requests/compat.py
  40. +0 −454 ext/requests/cookies.py
  41. +0 −67 ext/requests/exceptions.py
  42. +0 −45 ext/requests/hooks.py
  43. +0 −781 ext/requests/models.py
  44. +0 −8 ext/requests/packages/README.rst
  45. +0 −3 ext/requests/packages/__init__.py
  46. +0 −32 ext/requests/packages/chardet/__init__.py
  47. +0 −925 ext/requests/packages/chardet/big5freq.py
  48. +0 −42 ext/requests/packages/chardet/big5prober.py
  49. +0 −46 ext/requests/packages/chardet/chardetect.py
  50. +0 −231 ext/requests/packages/chardet/chardistribution.py
  51. +0 −106 ext/requests/packages/chardet/charsetgroupprober.py
  52. +0 −62 ext/requests/packages/chardet/charsetprober.py
  53. +0 −61 ext/requests/packages/chardet/codingstatemachine.py
  54. +0 −34 ext/requests/packages/chardet/compat.py
  55. +0 −39 ext/requests/packages/chardet/constants.py
  56. +0 −44 ext/requests/packages/chardet/cp949prober.py
  57. +0 −86 ext/requests/packages/chardet/escprober.py
  58. +0 −242 ext/requests/packages/chardet/escsm.py
  59. +0 −90 ext/requests/packages/chardet/eucjpprober.py
  60. +0 −596 ext/requests/packages/chardet/euckrfreq.py
  61. +0 −42 ext/requests/packages/chardet/euckrprober.py
  62. +0 −428 ext/requests/packages/chardet/euctwfreq.py
  63. +0 −41 ext/requests/packages/chardet/euctwprober.py
  64. +0 −472 ext/requests/packages/chardet/gb2312freq.py
  65. +0 −41 ext/requests/packages/chardet/gb2312prober.py
  66. +0 −283 ext/requests/packages/chardet/hebrewprober.py
  67. +0 −569 ext/requests/packages/chardet/jisfreq.py
  68. +0 −219 ext/requests/packages/chardet/jpcntx.py
  69. +0 −229 ext/requests/packages/chardet/langbulgarianmodel.py
  70. +0 −329 ext/requests/packages/chardet/langcyrillicmodel.py
  71. +0 −225 ext/requests/packages/chardet/langgreekmodel.py
  72. +0 −201 ext/requests/packages/chardet/langhebrewmodel.py
  73. +0 −225 ext/requests/packages/chardet/langhungarianmodel.py
  74. +0 −200 ext/requests/packages/chardet/langthaimodel.py
  75. +0 −139 ext/requests/packages/chardet/latin1prober.py
  76. +0 −86 ext/requests/packages/chardet/mbcharsetprober.py
  77. +0 −54 ext/requests/packages/chardet/mbcsgroupprober.py
  78. +0 −575 ext/requests/packages/chardet/mbcssm.py
  79. +0 −120 ext/requests/packages/chardet/sbcharsetprober.py
  80. +0 −69 ext/requests/packages/chardet/sbcsgroupprober.py
  81. +0 −91 ext/requests/packages/chardet/sjisprober.py
  82. +0 −170 ext/requests/packages/chardet/universaldetector.py
  83. +0 −76 ext/requests/packages/chardet/utf8prober.py
  84. +0 −58 ext/requests/packages/urllib3/__init__.py
  85. +0 −103 ext/requests/packages/urllib3/_collections.py
  86. +0 −107 ext/requests/packages/urllib3/connection.py
  87. +0 −681 ext/requests/packages/urllib3/connectionpool.py
  88. 0 ext/requests/packages/urllib3/contrib/__init__.py
  89. +0 −120 ext/requests/packages/urllib3/contrib/ntlmpool.py
  90. +0 −346 ext/requests/packages/urllib3/contrib/pyopenssl.py
  91. +0 −121 ext/requests/packages/urllib3/exceptions.py
  92. +0 −177 ext/requests/packages/urllib3/fields.py
  93. +0 −101 ext/requests/packages/urllib3/filepost.py
  94. +0 −4 ext/requests/packages/urllib3/packages/__init__.py
  95. +0 −260 ext/requests/packages/urllib3/packages/ordered_dict.py
  96. +0 −385 ext/requests/packages/urllib3/packages/six.py
  97. +0 −13 ext/requests/packages/urllib3/packages/ssl_match_hostname/__init__.py
  98. +0 −105 ext/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.py
  99. +0 −258 ext/requests/packages/urllib3/poolmanager.py
  100. +0 −142 ext/requests/packages/urllib3/request.py
  101. +0 −312 ext/requests/packages/urllib3/response.py
  102. +0 −643 ext/requests/packages/urllib3/util.py
  103. +0 −553 ext/requests/sessions.py
  104. +0 −88 ext/requests/status_codes.py
  105. +0 −128 ext/requests/structures.py
  106. +0 −643 ext/requests/utils.py
  107. +4 −5 init.py
View
@@ -1 +0,0 @@
-__author__ = 'dannya'
View
@@ -1,50 +0,0 @@
-# -*- coding: utf-8 -*-
-"""
- flask
- ~~~~~
-
- A microframework based on Werkzeug. It's extensively documented
- and follows best practice patterns.
-
- :copyright: (c) 2011 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
-"""
-
-__version__ = '0.10'
-
-# utilities we import from Werkzeug and Jinja2 that are unused
-# in the module but are exported as public interface.
-from werkzeug.exceptions import abort
-from werkzeug.utils import redirect
-from jinja2 import Markup, escape
-
-from .app import Flask, Request, Response
-from .config import Config
-from .helpers import url_for, flash, send_file, send_from_directory, \
- get_flashed_messages, get_template_attribute, make_response, safe_join, \
- stream_with_context
-from .globals import current_app, g, request, session, _request_ctx_stack, \
- _app_ctx_stack
-from .ctx import has_request_context, has_app_context, \
- after_this_request, copy_current_request_context
-from .module import Module
-from .blueprints import Blueprint
-from .templating import render_template, render_template_string
-
-# the signals
-from .signals import signals_available, template_rendered, request_started, \
- request_finished, got_request_exception, request_tearing_down, \
- appcontext_tearing_down, appcontext_pushed, \
- appcontext_popped, message_flashed
-
-# We're not exposing the actual json module but a convenient wrapper around
-# it.
-from . import json
-
-# This was the only thing that flask used to export at one point and it had
-# a more generic name.
-jsonify = json.jsonify
-
-# backwards compat, goes away in 1.0
-from .sessions import SecureCookieSession as Session
-json_available = True
View
@@ -1,73 +0,0 @@
-# -*- coding: utf-8 -*-
-"""
- flask._compat
- ~~~~~~~~~~~~~
-
- Some py2/py3 compatibility support based on a stripped down
- version of six so we don't have to depend on a specific version
- of it.
-
- :copyright: (c) 2013 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
-"""
-import sys
-
-PY2 = sys.version_info[0] == 2
-_identity = lambda x: x
-
-
-if not PY2:
- text_type = str
- string_types = (str,)
- integer_types = (int, )
-
- iterkeys = lambda d: iter(d.keys())
- itervalues = lambda d: iter(d.values())
- iteritems = lambda d: iter(d.items())
-
- from io import StringIO
-
- def reraise(tp, value, tb=None):
- if value.__traceback__ is not tb:
- raise value.with_traceback(tb)
- raise value
-
- implements_to_string = _identity
-
-else:
- text_type = unicode
- string_types = (str, unicode)
- integer_types = (int, long)
-
- iterkeys = lambda d: d.iterkeys()
- itervalues = lambda d: d.itervalues()
- iteritems = lambda d: d.iteritems()
-
- from cStringIO import StringIO
-
- exec('def reraise(tp, value, tb=None):\n raise tp, value, tb')
-
- def implements_to_string(cls):
- cls.__unicode__ = cls.__str__
- cls.__str__ = lambda x: x.__unicode__().encode('utf-8')
- return cls
-
-
-def with_metaclass(meta, *bases):
- # This requires a bit of explanation: the basic idea is to make a
- # dummy metaclass for one level of class instantiation that replaces
- # itself with the actual metaclass. Because of internal type checks
- # we also need to make sure that we downgrade the custom metaclass
- # for one level to something closer to type (that's why __call__ and
- # __init__ comes back from type etc.).
- #
- # This has the advantage over six.with_metaclass in that it does not
- # introduce dummy classes into the final MRO.
- class metaclass(meta):
- __call__ = type.__call__
- __init__ = type.__init__
- def __new__(cls, name, this_bases, d):
- if this_bases is None:
- return type.__new__(cls, name, (), d)
- return meta(name, bases, d)
- return metaclass('temporary_class', None, {})
Oops, something went wrong.

0 comments on commit 7650870

Please sign in to comment.