[Python-modules-commits] [flask] 04/16: Import flask_0.11.1.orig.tar.gz
Ondřej Nový
onovy at moszumanska.debian.org
Mon Jul 18 10:20:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
onovy pushed a commit to branch master
in repository flask.
commit 6d82aa89744b50eee77673cf99929241c4d65dae
Author: Ondřej Nový <onovy at debian.org>
Date: Mon Jul 18 11:40:11 2016 +0200
Import flask_0.11.1.orig.tar.gz
---
AUTHORS | 6 +-
CHANGES | 138 +-
Flask.egg-info/PKG-INFO | 18 +-
Flask.egg-info/SOURCES.txt | 136 +-
Flask.egg-info/entry_points.txt | 4 +
Flask.egg-info/requires.txt | 3 +-
LICENSE | 2 +-
MANIFEST.in | 25 +-
Makefile | 13 +-
PKG-INFO | 18 +-
README | 24 +-
artwork/.DS_Store | Bin 6148 -> 0 bytes
artwork/logo-lineart.svg | 165 ++
docs/_static/flask-favicon.ico | Bin 0 -> 2238 bytes
docs/_templates/sidebarintro.html | 4 +-
docs/_themes/.gitignore | 3 -
docs/_themes/LICENSE | 37 -
docs/_themes/README | 31 -
docs/_themes/flask/layout.html | 16 -
docs/_themes/flask/relations.html | 19 -
docs/_themes/flask/static/flasky.css_t | 387 -----
docs/_themes/flask/static/small_flask.css | 70 -
docs/_themes/flask/theme.conf | 7 -
docs/_themes/flask_small/layout.html | 22 -
docs/_themes/flask_small/static/flasky.css_t | 287 ----
docs/_themes/flask_small/theme.conf | 10 -
docs/_themes/flask_theme_support.py | 86 --
docs/advanced_foreword.rst | 6 +-
docs/api.rst | 257 ++-
docs/appcontext.rst | 32 +-
docs/becomingbig.rst | 2 +-
docs/blueprints.rst | 41 +-
docs/cli.rst | 250 +++
docs/conf.py | 62 +-
docs/config.rst | 71 +-
docs/contents.rst.inc | 2 +
docs/deploying/cgi.rst | 12 +-
docs/deploying/fastcgi.rst | 65 +-
docs/deploying/index.rst | 35 +-
docs/deploying/mod_wsgi.rst | 55 +-
docs/deploying/uwsgi.rst | 37 +-
docs/deploying/wsgi-standalone.rst | 45 +-
docs/errorhandling.rst | 135 +-
docs/extensiondev.rst | 42 +-
docs/extensions.rst | 17 +-
docs/foreword.rst | 6 +-
docs/htmlfaq.rst | 6 +-
docs/index.rst | 7 +-
docs/installation.rst | 99 +-
docs/license.rst | 2 +-
docs/patterns/apierrors.rst | 6 +-
docs/patterns/appdispatch.rst | 24 +-
docs/patterns/appfactories.rst | 49 +-
docs/patterns/caching.rst | 6 +-
docs/patterns/celery.rst | 15 +-
docs/patterns/deferredcallbacks.rst | 6 +-
docs/patterns/distribute.rst | 86 +-
docs/patterns/errorpages.rst | 8 +-
docs/patterns/fabric.rst | 38 +-
docs/patterns/favicon.rst | 6 +-
docs/patterns/fileuploads.rst | 55 +-
docs/patterns/flashing.rst | 11 +-
docs/patterns/jquery.rst | 18 +-
docs/patterns/lazyloading.rst | 6 +-
docs/patterns/mongokit.rst | 11 +-
docs/patterns/packages.rst | 22 +-
docs/patterns/sqlalchemy.rst | 20 +-
docs/patterns/sqlite3.rst | 37 +-
docs/patterns/templateinheritance.rst | 2 +-
docs/patterns/viewdecorators.rst | 33 +-
docs/patterns/wtforms.rst | 54 +-
docs/python3.rst | 47 +-
docs/quickstart.rst | 236 +--
docs/reqcontext.rst | 10 +-
docs/security.rst | 93 +-
docs/server.rst | 52 +
docs/shell.rst | 14 +-
docs/signals.rst | 187 +--
docs/styleguide.rst | 2 +-
docs/templating.rst | 15 +-
docs/testing.rst | 63 +-
docs/tutorial/css.rst | 4 +-
docs/tutorial/dbcon.rst | 109 +-
docs/tutorial/dbinit.rst | 92 +-
docs/tutorial/folders.rst | 16 +-
docs/tutorial/index.rst | 12 +-
docs/tutorial/introduction.rst | 22 +-
docs/tutorial/schema.rst | 14 +-
docs/tutorial/setup.rst | 130 +-
docs/tutorial/templates.rst | 16 +-
docs/tutorial/testing.rst | 2 +-
docs/tutorial/views.rst | 40 +-
docs/unicode.rst | 2 +-
docs/upgrading.rst | 96 +-
docs/views.rst | 4 +-
examples/.DS_Store | Bin 6148 -> 0 bytes
examples/blueprintexample/blueprintexample.py | 7 +-
examples/blueprintexample/blueprintexample_test.py | 36 -
.../simple_page/templates/pages/layout.html | 4 +-
examples/blueprintexample/test_blueprintexample.py | 33 +
examples/flaskr/.gitignore | 1 +
examples/flaskr/README | 21 +-
examples/flaskr/flaskr.py | 68 +-
examples/flaskr/flaskr_tests.py | 75 -
examples/flaskr/schema.sql | 2 +-
examples/flaskr/templates/layout.html | 8 +-
examples/flaskr/templates/login.html | 10 +-
examples/flaskr/templates/show_entries.html | 10 +-
examples/flaskr/test_flaskr.py | 77 +
examples/jqueryexample/jqueryexample.py | 3 +-
examples/jqueryexample/templates/index.html | 10 +-
examples/jqueryexample/templates/layout.html | 4 +-
examples/minitwit/README | 21 +-
examples/minitwit/minitwit.py | 25 +-
examples/minitwit/minitwit_tests.py | 149 --
examples/minitwit/templates/layout.html | 12 +-
examples/minitwit/templates/login.html | 10 +-
examples/minitwit/templates/register.html | 14 +-
examples/minitwit/templates/timeline.html | 16 +-
examples/minitwit/test_minitwit.py | 151 ++
examples/persona/.DS_Store | Bin 6148 -> 0 bytes
examples/persona/README.md | 3 +
examples/persona/persona.py | 8 +-
examples/persona/static/.DS_Store | Bin 6148 -> 0 bytes
examples/persona/templates/layout.html | 8 +-
flask/__init__.py | 11 +-
flask/__main__.py | 15 +
flask/_compat.py | 45 +-
flask/app.py | 540 ++++---
flask/blueprints.py | 26 +-
flask/cli.py | 482 ++++++
flask/config.py | 104 +-
flask/ctx.py | 130 +-
flask/debughelpers.py | 74 +-
flask/ext/__init__.py | 2 +-
flask/exthook.py | 29 +-
flask/globals.py | 25 +-
flask/helpers.py | 227 ++-
flask/json.py | 67 +-
flask/logging.py | 67 +-
flask/module.py | 42 -
flask/sessions.py | 116 +-
flask/signals.py | 9 +-
flask/templating.py | 72 +-
flask/testing.py | 15 +-
flask/testsuite/__init__.py | 246 ---
flask/testsuite/appctx.py | 101 --
flask/testsuite/basic.py | 1254 ---------------
flask/testsuite/blueprints.py | 790 ----------
flask/testsuite/config.py | 299 ----
flask/testsuite/deprecations.py | 24 -
flask/testsuite/examples.py | 38 -
flask/testsuite/ext.py | 134 --
flask/testsuite/regression.py | 116 --
flask/testsuite/reqctx.py | 185 ---
flask/testsuite/signals.py | 153 --
flask/testsuite/subclassing.py | 46 -
flask/testsuite/templating.py | 302 ----
flask/testsuite/test_apps/config_module_app.py | 4 -
.../test_apps/config_package_app/__init__.py | 4 -
flask/testsuite/test_apps/flask_broken/__init__.py | 2 -
flask/testsuite/test_apps/flask_broken/b.py | 0
.../test_apps/flask_newext_package/__init__.py | 1 -
.../test_apps/flask_newext_package/submodule.py | 2 -
flask/testsuite/test_apps/flask_newext_simple.py | 1 -
.../test_apps/flaskext/oldext_package/__init__.py | 1 -
.../test_apps/flaskext/oldext_package/submodule.py | 2 -
.../testsuite/test_apps/flaskext/oldext_simple.py | 1 -
flask/testsuite/test_apps/importerror.py | 2 -
.../lib/python2.5/site-packages/SiteEgg.egg | Bin 1218 -> 0 bytes
.../lib/python2.5/site-packages/site_app.py | 3 -
.../site-packages/site_package/__init__.py | 3 -
flask/testsuite/test_apps/main_app.py | 4 -
flask/testsuite/test_apps/moduleapp/__init__.py | 7 -
.../testsuite/test_apps/moduleapp/apps/__init__.py | 0
.../test_apps/moduleapp/apps/admin/__init__.py | 14 -
.../moduleapp/apps/admin/static/css/test.css | 1 -
.../test_apps/moduleapp/apps/admin/static/test.txt | 1 -
.../moduleapp/apps/admin/templates/index.html | 1 -
.../test_apps/moduleapp/apps/frontend/__init__.py | 9 -
.../moduleapp/apps/frontend/templates/index.html | 1 -
.../test_apps/path/installed_package/__init__.py | 3 -
flask/testsuite/testing.py | 242 ---
flask/testsuite/views.py | 169 --
flask/views.py | 16 +-
flask/wrappers.py | 72 +-
run-tests.py | 5 -
setup.cfg | 14 +-
setup.py | 75 +-
tests/conftest.py | 133 ++
tests/static/config.json | 4 +
{flask/testsuite => tests}/static/index.html | 0
{flask/testsuite => tests}/templates/_macro.html | 0
.../templates/context_template.html | 0
.../templates/escaping_template.html | 0
{flask/testsuite => tests}/templates/mail.txt | 0
.../templates/nested/nested.txt | 0
.../templates/non_escaping_template.txt | 2 +
.../templates/simple_template.html | 0
.../templates/template_filter.html | 0
.../templates/template_test.html | 0
tests/test_appctx.py | 170 ++
.../test_apps/blueprintapp/__init__.py | 1 +
.../test_apps/blueprintapp/apps/__init__.py | 0
.../test_apps/blueprintapp/apps/admin/__init__.py | 0
.../blueprintapp/apps/admin/static/css/test.css | 0
.../blueprintapp/apps/admin/static/test.txt | 0
.../apps/admin/templates/admin/index.html | 0
.../blueprintapp/apps/frontend/__init__.py | 5 +
.../apps/frontend/templates/frontend/index.html | 0
.../test_apps/cliapp}/__init__.py | 0
tests/test_apps/cliapp/app.py | 5 +
tests/test_apps/cliapp/multiapp.py | 6 +
.../test_apps/subdomaintestmodule/__init__.py | 0
.../test_apps/subdomaintestmodule/static/hello.txt | 0
tests/test_basic.py | 1630 ++++++++++++++++++++
tests/test_blueprints.py | 574 +++++++
tests/test_cli.py | 143 ++
tests/test_config.py | 189 +++
tests/test_deprecations.py | 50 +
tests/test_ext.py | 187 +++
.../testsuite/helpers.py => tests/test_helpers.py | 444 ++++--
tests/test_instance_config.py | 134 ++
tests/test_regression.py | 102 ++
tests/test_reqctx.py | 195 +++
tests/test_signals.py | 202 +++
tests/test_subclassing.py | 37 +
tests/test_templating.py | 392 +++++
tests/test_testing.py | 236 +++
tests/test_user_error_handler.py | 140 ++
tests/test_views.py | 162 ++
231 files changed, 9333 insertions(+), 7650 deletions(-)
diff --git a/AUTHORS b/AUTHORS
index 7cc5da5..d081d9f 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -15,11 +15,16 @@ Patches and Suggestions
- Chris Grindstaff
- Christopher Grebs
- Daniel Neuhäuser
+- David Lord @davidism
+- Edmond Burnett
- Florent Xicluna
- Georg Brandl
+- Jeff Widman @jeffwidman
- Justin Quick
- Kenneth Reitz
+- Keyan Pishdadian
- Marian Sigler
+- Martijn Pieters
- Matt Campell
- Matthew Frazier
- Michael van Tellingen
@@ -29,4 +34,3 @@ Patches and Suggestions
- Stephane Wirtel
- Thomas Schranz
- Zhao Xiaohong
-- Edmond Burnett
diff --git a/CHANGES b/CHANGES
index fb0a511..c057a67 100644
--- a/CHANGES
+++ b/CHANGES
@@ -3,6 +3,114 @@ Flask Changelog
Here you can see the full list of changes between each Flask release.
+Version 0.11.1
+--------------
+
+Bugfix release, released on June 7th 2016.
+
+- Fixed a bug that prevented ``FLASK_APP=foobar/__init__.py`` from working. See
+ pull request ``#1872``.
+
+Version 0.11
+------------
+
+Released on May 29th 2016, codename Absinthe.
+
+- Added support to serializing top-level arrays to :func:`flask.jsonify`. This
+ introduces a security risk in ancient browsers. See
+ :ref:`json-security` for details.
+- Added before_render_template signal.
+- Added `**kwargs` to :meth:`flask.Test.test_client` to support passing
+ additional keyword arguments to the constructor of
+ :attr:`flask.Flask.test_client_class`.
+- Added ``SESSION_REFRESH_EACH_REQUEST`` config key that controls the
+ set-cookie behavior. If set to ``True`` a permanent session will be
+ refreshed each request and get their lifetime extended, if set to
+ ``False`` it will only be modified if the session actually modifies.
+ Non permanent sessions are not affected by this and will always
+ expire if the browser window closes.
+- Made Flask support custom JSON mimetypes for incoming data.
+- Added support for returning tuples in the form ``(response, headers)``
+ from a view function.
+- Added :meth:`flask.Config.from_json`.
+- Added :attr:`flask.Flask.config_class`.
+- Added :meth:`flask.config.Config.get_namespace`.
+- Templates are no longer automatically reloaded outside of debug mode. This
+ can be configured with the new ``TEMPLATES_AUTO_RELOAD`` config key.
+- Added a workaround for a limitation in Python 3.3's namespace loader.
+- Added support for explicit root paths when using Python 3.3's namespace
+ packages.
+- Added :command:`flask` and the ``flask.cli`` module to start the local
+ debug server through the click CLI system. This is recommended over the old
+ ``flask.run()`` method as it works faster and more reliable due to a
+ different design and also replaces ``Flask-Script``.
+- Error handlers that match specific classes are now checked first,
+ thereby allowing catching exceptions that are subclasses of HTTP
+ exceptions (in ``werkzeug.exceptions``). This makes it possible
+ for an extension author to create exceptions that will by default
+ result in the HTTP error of their choosing, but may be caught with
+ a custom error handler if desired.
+- Added :meth:`flask.Config.from_mapping`.
+- Flask will now log by default even if debug is disabled. The log format is
+ now hardcoded but the default log handling can be disabled through the
+ ``LOGGER_HANDLER_POLICY`` configuration key.
+- Removed deprecated module functionality.
+- Added the ``EXPLAIN_TEMPLATE_LOADING`` config flag which when enabled will
+ instruct Flask to explain how it locates templates. This should help
+ users debug when the wrong templates are loaded.
+- Enforce blueprint handling in the order they were registered for template
+ loading.
+- Ported test suite to py.test.
+- Deprecated ``request.json`` in favour of ``request.get_json()``.
+- Add "pretty" and "compressed" separators definitions in jsonify() method.
+ Reduces JSON response size when JSONIFY_PRETTYPRINT_REGULAR=False by removing
+ unnecessary white space included by default after separators.
+- JSON responses are now terminated with a newline character, because it is a
+ convention that UNIX text files end with a newline and some clients don't
+ deal well when this newline is missing. See
+ https://github.com/pallets/flask/pull/1262 -- this came up originally as a
+ part of https://github.com/kennethreitz/httpbin/issues/168
+- The automatically provided ``OPTIONS`` method is now correctly disabled if
+ the user registered an overriding rule with the lowercase-version
+ ``options`` (issue ``#1288``).
+- ``flask.json.jsonify`` now supports the ``datetime.date`` type (pull request
+ ``#1326``).
+- Don't leak exception info of already catched exceptions to context teardown
+ handlers (pull request ``#1393``).
+- Allow custom Jinja environment subclasses (pull request ``#1422``).
+- ``flask.g`` now has ``pop()`` and ``setdefault`` methods.
+- Turn on autoescape for ``flask.templating.render_template_string`` by default
+ (pull request ``#1515``).
+- ``flask.ext`` is now deprecated (pull request ``#1484``).
+- ``send_from_directory`` now raises BadRequest if the filename is invalid on
+ the server OS (pull request ``#1763``).
+- Added the ``JSONIFY_MIMETYPE`` configuration variable (pull request ``#1728``).
+- Exceptions during teardown handling will no longer leave bad application
+ contexts lingering around.
+
+Version 0.10.2
+--------------
+
+(bugfix release, release date to be announced)
+
+- Fixed broken `test_appcontext_signals()` test case.
+- Raise an :exc:`AttributeError` in :func:`flask.helpers.find_package` with a
+ useful message explaining why it is raised when a PEP 302 import hook is used
+ without an `is_package()` method.
+- Fixed an issue causing exceptions raised before entering a request or app
+ context to be passed to teardown handlers.
+- Fixed an issue with query parameters getting removed from requests in
+ the test client when absolute URLs were requested.
+- Made `@before_first_request` into a decorator as intended.
+- Fixed an etags bug when sending a file streams with a name.
+- Fixed `send_from_directory` not expanding to the application root path
+ correctly.
+- Changed logic of before first request handlers to flip the flag after
+ invoking. This will allow some uses that are potentially dangerous but
+ should probably be permitted.
+- Fixed Python 3 bug when a handler from `app.url_build_error_handlers`
+ reraises the `BuildError`.
+
Version 0.10.1
--------------
@@ -15,13 +123,13 @@ Version 0.10.1
- Added support for byte strings back to the session system. This broke
compatibility with the common case of people putting binary data for
token verification into the session.
-- Fixed an issue were registering the same method twice for the same endpoint
+- Fixed an issue where registering the same method twice for the same endpoint
would trigger an exception incorrectly.
Version 0.10
------------
-Released on June 13nd 2013, codename Limoncello.
+Released on June 13th 2013, codename Limoncello.
- Changed default cookie serialization format from pickle to JSON to
limit the impact an attacker can do if the secret key leaks. See
@@ -110,7 +218,7 @@ Released on July 1st 2012, codename Campari.
explicitly.
- Unregister a circular dependency between the WSGI environment and
the request object when shutting down the request. This means that
- environ ``werkzeug.request`` will be `None` after the response was
+ environ ``werkzeug.request`` will be ``None`` after the response was
returned to the WSGI server but has the advantage that the garbage
collector is not needed on CPython to tear down the request unless
the user created circular dependencies themselves.
@@ -131,8 +239,8 @@ Released on July 1st 2012, codename Campari.
- The :func:`flask.get_flashed_messages` function now allows rendering flashed
message categories in separate blocks, through a ``category_filter``
argument.
-- The :meth:`flask.Flask.run` method now accepts `None` for `host` and `port`
- arguments, using default values when `None`. This allows for calling run
+- The :meth:`flask.Flask.run` method now accepts ``None`` for `host` and `port`
+ arguments, using default values when ``None``. This allows for calling run
using configuration values, e.g. ``app.run(app.config.get('MYHOST'),
app.config.get('MYPORT'))``, with proper behavior whether or not a config
file is provided.
@@ -253,7 +361,7 @@ Released on June 28th 2011, codename Grappa
- Added :meth:`~flask.Flask.make_default_options_response`
which can be used by subclasses to alter the default
- behavior for `OPTIONS` responses.
+ behavior for ``OPTIONS`` responses.
- Unbound locals now raise a proper :exc:`RuntimeError` instead
of an :exc:`AttributeError`.
- Mimetype guessing and etag support based on file objects is now
@@ -266,10 +374,10 @@ Released on June 28th 2011, codename Grappa
1.0 the old behavior will continue to work but issue dependency
warnings.
- fixed a problem for Flask to run on jython.
-- added a `PROPAGATE_EXCEPTIONS` configuration variable that can be
+- added a ``PROPAGATE_EXCEPTIONS`` configuration variable that can be
used to flip the setting of exception propagation which previously
- was linked to `DEBUG` alone and is now linked to either `DEBUG` or
- `TESTING`.
+ was linked to ``DEBUG`` alone and is now linked to either ``DEBUG`` or
+ ``TESTING``.
- Flask no longer internally depends on rules being added through the
`add_url_rule` function and can now also accept regular werkzeug
rules added to the url map.
@@ -306,8 +414,8 @@ Version 0.6.1
Bugfix release, released on December 31st 2010
-- Fixed an issue where the default `OPTIONS` response was
- not exposing all valid methods in the `Allow` header.
+- Fixed an issue where the default ``OPTIONS`` response was
+ not exposing all valid methods in the ``Allow`` header.
- Jinja2 template loading syntax now allows "./" in front of
a template load path. Previously this caused issues with
module setups.
@@ -352,7 +460,7 @@ Released on July 27th 2010, codename Whisky
prefix. This makes it possible to bind a whole module to a
configurable subdomain.
-.. _blinker: http://pypi.python.org/pypi/blinker
+.. _blinker: https://pypi.python.org/pypi/blinker
Version 0.5.2
-------------
@@ -377,7 +485,7 @@ Released on July 6th 2010, codename Calvados
- fixed a bug with subdomains that was caused by the inability to
specify the server name. The server name can now be set with
- the `SERVER_NAME` config key. This key is now also used to set
+ the ``SERVER_NAME`` config key. This key is now also used to set
the session cookie cross-subdomain wide.
- autoescaping is no longer active for all templates. Instead it
is only active for ``.html``, ``.htm``, ``.xml`` and ``.xhtml``.
@@ -409,8 +517,8 @@ Released on June 18th 2010, codename Rakia
requests that do not pop the request stack for testing.
- because the Python standard library caches loggers, the name of
the logger is configurable now to better support unittests.
-- added `TESTING` switch that can activate unittesting helpers.
-- the logger switches to `DEBUG` mode now if debug is enabled.
+- added ``TESTING`` switch that can activate unittesting helpers.
+- the logger switches to ``DEBUG`` mode now if debug is enabled.
Version 0.3.1
-------------
diff --git a/Flask.egg-info/PKG-INFO b/Flask.egg-info/PKG-INFO
index 690e56f..7bb43e5 100644
--- a/Flask.egg-info/PKG-INFO
+++ b/Flask.egg-info/PKG-INFO
@@ -1,8 +1,8 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
Name: Flask
-Version: 0.10.1
+Version: 0.11.1
Summary: A microframework based on Werkzeug, Jinja2 and good intentions
-Home-page: http://github.com/mitsuhiko/flask/
+Home-page: http://github.com/pallets/flask/
Author: Armin Ronacher
Author-email: armin.ronacher at active-4.com
License: BSD
@@ -16,6 +16,8 @@ Description:
Flask is Fun
````````````
+ Save in a hello.py:
+
.. code:: python
from flask import Flask
@@ -31,6 +33,8 @@ Description:
And Easy to Setup
`````````````````
+ And run it:
+
.. code:: bash
$ pip install Flask
@@ -43,7 +47,7 @@ Description:
* `website <http://flask.pocoo.org/>`_
* `documentation <http://flask.pocoo.org/docs/>`_
* `development version
- <http://github.com/mitsuhiko/flask/zipball/master#egg=Flask-dev>`_
+ <http://github.com/pallets/flask/zipball/master#egg=Flask-dev>`_
Platform: any
@@ -53,6 +57,12 @@ Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff --git a/Flask.egg-info/SOURCES.txt b/Flask.egg-info/SOURCES.txt
index e326cfc..cc21df0 100644
--- a/Flask.egg-info/SOURCES.txt
+++ b/Flask.egg-info/SOURCES.txt
@@ -4,18 +4,18 @@ LICENSE
MANIFEST.in
Makefile
README
-run-tests.py
setup.cfg
setup.py
Flask.egg-info/PKG-INFO
Flask.egg-info/SOURCES.txt
Flask.egg-info/dependency_links.txt
+Flask.egg-info/entry_points.txt
Flask.egg-info/not-zip-safe
Flask.egg-info/requires.txt
Flask.egg-info/top_level.txt
-artwork/.DS_Store
artwork/LICENSE
artwork/logo-full.svg
+artwork/logo-lineart.svg
docs/.gitignore
docs/Makefile
docs/advanced_foreword.rst
@@ -24,6 +24,7 @@ docs/appcontext.rst
docs/becomingbig.rst
docs/blueprints.rst
docs/changelog.rst
+docs/cli.rst
docs/conf.py
docs/config.rst
docs/contents.rst.inc
@@ -46,6 +47,7 @@ docs/python3.rst
docs/quickstart.rst
docs/reqcontext.rst
docs/security.rst
+docs/server.rst
docs/shell.rst
docs/signals.rst
docs/styleguide.rst
@@ -55,6 +57,7 @@ docs/unicode.rst
docs/upgrading.rst
docs/views.rst
docs/_static/debugger.png
+docs/_static/flask-favicon.ico
docs/_static/flask.png
docs/_static/flaskr.png
docs/_static/logo-full.png
@@ -63,19 +66,6 @@ docs/_static/touch-icon.png
docs/_static/yes.png
docs/_templates/sidebarintro.html
docs/_templates/sidebarlogo.html
-docs/_themes/.git
-docs/_themes/.gitignore
-docs/_themes/LICENSE
-docs/_themes/README
-docs/_themes/flask_theme_support.py
-docs/_themes/flask/layout.html
-docs/_themes/flask/relations.html
-docs/_themes/flask/theme.conf
-docs/_themes/flask/static/flasky.css_t
-docs/_themes/flask/static/small_flask.css
-docs/_themes/flask_small/layout.html
-docs/_themes/flask_small/theme.conf
-docs/_themes/flask_small/static/flasky.css_t
docs/deploying/cgi.rst
docs/deploying/fastcgi.rst
docs/deploying/index.rst
@@ -119,19 +109,19 @@ docs/tutorial/setup.rst
docs/tutorial/templates.rst
docs/tutorial/testing.rst
docs/tutorial/views.rst
-examples/.DS_Store
examples/blueprintexample/blueprintexample.py
-examples/blueprintexample/blueprintexample_test.py
+examples/blueprintexample/test_blueprintexample.py
examples/blueprintexample/simple_page/__init__.py
examples/blueprintexample/simple_page/simple_page.py
examples/blueprintexample/simple_page/templates/pages/hello.html
examples/blueprintexample/simple_page/templates/pages/index.html
examples/blueprintexample/simple_page/templates/pages/layout.html
examples/blueprintexample/simple_page/templates/pages/world.html
+examples/flaskr/.gitignore
examples/flaskr/README
examples/flaskr/flaskr.py
-examples/flaskr/flaskr_tests.py
examples/flaskr/schema.sql
+examples/flaskr/test_flaskr.py
examples/flaskr/static/style.css
examples/flaskr/templates/layout.html
examples/flaskr/templates/login.html
@@ -141,25 +131,26 @@ examples/jqueryexample/templates/index.html
examples/jqueryexample/templates/layout.html
examples/minitwit/README
examples/minitwit/minitwit.py
-examples/minitwit/minitwit_tests.py
examples/minitwit/schema.sql
+examples/minitwit/test_minitwit.py
examples/minitwit/static/style.css
examples/minitwit/templates/layout.html
examples/minitwit/templates/login.html
examples/minitwit/templates/register.html
examples/minitwit/templates/timeline.html
-examples/persona/.DS_Store
+examples/persona/README.md
examples/persona/persona.py
-examples/persona/static/.DS_Store
examples/persona/static/persona.js
examples/persona/static/spinner.png
examples/persona/static/style.css
examples/persona/templates/index.html
examples/persona/templates/layout.html
flask/__init__.py
+flask/__main__.py
flask/_compat.py
flask/app.py
flask/blueprints.py
+flask/cli.py
flask/config.py
flask/ctx.py
flask/debughelpers.py
@@ -168,7 +159,6 @@ flask/globals.py
flask/helpers.py
flask/json.py
flask/logging.py
-flask/module.py
flask/sessions.py
flask/signals.py
flask/templating.py
@@ -176,63 +166,45 @@ flask/testing.py
flask/views.py
flask/wrappers.py
flask/ext/__init__.py
-flask/testsuite/__init__.py
-flask/testsuite/appctx.py
-flask/testsuite/basic.py
-flask/testsuite/blueprints.py
-flask/testsuite/config.py
-flask/testsuite/deprecations.py
-flask/testsuite/examples.py
-flask/testsuite/ext.py
-flask/testsuite/helpers.py
-flask/testsuite/regression.py
-flask/testsuite/reqctx.py
-flask/testsuite/signals.py
-flask/testsuite/subclassing.py
-flask/testsuite/templating.py
-flask/testsuite/testing.py
-flask/testsuite/views.py
-flask/testsuite/static/index.html
-flask/testsuite/templates/_macro.html
-flask/testsuite/templates/context_template.html
-flask/testsuite/templates/escaping_template.html
-flask/testsuite/templates/mail.txt
-flask/testsuite/templates/simple_template.html
-flask/testsuite/templates/template_filter.html
-flask/testsuite/templates/template_test.html
-flask/testsuite/templates/nested/nested.txt
-flask/testsuite/test_apps/config_module_app.py
-flask/testsuite/test_apps/flask_newext_simple.py
-flask/testsuite/test_apps/importerror.py
-flask/testsuite/test_apps/main_app.py
-flask/testsuite/test_apps/blueprintapp/__init__.py
-flask/testsuite/test_apps/blueprintapp/apps/__init__.py
-flask/testsuite/test_apps/blueprintapp/apps/admin/__init__.py
-flask/testsuite/test_apps/blueprintapp/apps/admin/static/test.txt
-flask/testsuite/test_apps/blueprintapp/apps/admin/static/css/test.css
-flask/testsuite/test_apps/blueprintapp/apps/admin/templates/admin/index.html
-flask/testsuite/test_apps/blueprintapp/apps/frontend/__init__.py
-flask/testsuite/test_apps/blueprintapp/apps/frontend/templates/frontend/index.html
-flask/testsuite/test_apps/config_package_app/__init__.py
-flask/testsuite/test_apps/flask_broken/__init__.py
-flask/testsuite/test_apps/flask_broken/b.py
-flask/testsuite/test_apps/flask_newext_package/__init__.py
-flask/testsuite/test_apps/flask_newext_package/submodule.py
-flask/testsuite/test_apps/flaskext/__init__.py
-flask/testsuite/test_apps/flaskext/oldext_simple.py
-flask/testsuite/test_apps/flaskext/oldext_package/__init__.py
-flask/testsuite/test_apps/flaskext/oldext_package/submodule.py
-flask/testsuite/test_apps/lib/python2.5/site-packages/SiteEgg.egg
-flask/testsuite/test_apps/lib/python2.5/site-packages/site_app.py
-flask/testsuite/test_apps/lib/python2.5/site-packages/site_package/__init__.py
-flask/testsuite/test_apps/moduleapp/__init__.py
-flask/testsuite/test_apps/moduleapp/apps/__init__.py
-flask/testsuite/test_apps/moduleapp/apps/admin/__init__.py
-flask/testsuite/test_apps/moduleapp/apps/admin/static/test.txt
-flask/testsuite/test_apps/moduleapp/apps/admin/static/css/test.css
-flask/testsuite/test_apps/moduleapp/apps/admin/templates/index.html
-flask/testsuite/test_apps/moduleapp/apps/frontend/__init__.py
-flask/testsuite/test_apps/moduleapp/apps/frontend/templates/index.html
-flask/testsuite/test_apps/path/installed_package/__init__.py
-flask/testsuite/test_apps/subdomaintestmodule/__init__.py
-flask/testsuite/test_apps/subdomaintestmodule/static/hello.txt
\ No newline at end of file
+tests/conftest.py
+tests/test_appctx.py
+tests/test_basic.py
+tests/test_blueprints.py
+tests/test_cli.py
+tests/test_config.py
+tests/test_deprecations.py
+tests/test_ext.py
+tests/test_helpers.py
+tests/test_instance_config.py
+tests/test_regression.py
+tests/test_reqctx.py
+tests/test_signals.py
+tests/test_subclassing.py
+tests/test_templating.py
+tests/test_testing.py
+tests/test_user_error_handler.py
+tests/test_views.py
+tests/static/config.json
+tests/static/index.html
+tests/templates/_macro.html
+tests/templates/context_template.html
+tests/templates/escaping_template.html
+tests/templates/mail.txt
+tests/templates/non_escaping_template.txt
+tests/templates/simple_template.html
+tests/templates/template_filter.html
+tests/templates/template_test.html
+tests/templates/nested/nested.txt
+tests/test_apps/blueprintapp/__init__.py
+tests/test_apps/blueprintapp/apps/__init__.py
+tests/test_apps/blueprintapp/apps/admin/__init__.py
+tests/test_apps/blueprintapp/apps/admin/static/test.txt
+tests/test_apps/blueprintapp/apps/admin/static/css/test.css
+tests/test_apps/blueprintapp/apps/admin/templates/admin/index.html
+tests/test_apps/blueprintapp/apps/frontend/__init__.py
+tests/test_apps/blueprintapp/apps/frontend/templates/frontend/index.html
+tests/test_apps/cliapp/__init__.py
+tests/test_apps/cliapp/app.py
+tests/test_apps/cliapp/multiapp.py
+tests/test_apps/subdomaintestmodule/__init__.py
+tests/test_apps/subdomaintestmodule/static/hello.txt
\ No newline at end of file
diff --git a/Flask.egg-info/entry_points.txt b/Flask.egg-info/entry_points.txt
new file mode 100644
index 0000000..14adf18
--- /dev/null
+++ b/Flask.egg-info/entry_points.txt
@@ -0,0 +1,4 @@
+
+ [console_scripts]
+ flask=flask.cli:main
+
\ No newline at end of file
diff --git a/Flask.egg-info/requires.txt b/Flask.egg-info/requires.txt
index a7281e1..bd0cda5 100644
--- a/Flask.egg-info/requires.txt
+++ b/Flask.egg-info/requires.txt
@@ -1,3 +1,4 @@
Werkzeug>=0.7
Jinja2>=2.4
-itsdangerous>=0.21
\ No newline at end of file
+itsdangerous>=0.21
+click>=2.0
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
index 3c59032..a7da10e 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2013 by Armin Ronacher and contributors. See AUTHORS
+Copyright (c) 2015 by Armin Ronacher and contributors. See AUTHORS
for more details.
Some rights reserved.
diff --git a/MANIFEST.in b/MANIFEST.in
index f82ed05..f8d9c2a 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,16 +1,11 @@
-include Makefile CHANGES LICENSE AUTHORS run-tests.py
-recursive-include artwork *
-recursive-include tests *
-recursive-include examples *
-recursive-include docs *
-recursive-exclude docs *.pyc
-recursive-exclude docs *.pyo
-recursive-exclude tests *.pyc
-recursive-exclude tests *.pyo
-recursive-exclude examples *.pyc
-recursive-exclude examples *.pyo
-recursive-include flask/testsuite/static *
-recursive-include flask/testsuite/templates *
-recursive-include flask/testsuite/test_apps *
+include Makefile CHANGES LICENSE AUTHORS
+
+graft artwork
+graft tests
+graft examples
+graft docs
+
+global-exclude *.py[co]
+
prune docs/_build
-prune docs/_themes/.git
+prune docs/_themes
diff --git a/Makefile b/Makefile
index b67c8a9..350aa9a 100644
--- a/Makefile
+++ b/Makefile
@@ -3,14 +3,11 @@
all: clean-pyc test
test:
- python run-tests.py
+ FLASK_DEBUG= py.test tests examples
tox-test:
tox
-test-with-mem:
- RUN_FLASK_MEMORY_TESTS=1 python run-tests.py
-
audit:
python setup.py audit
@@ -29,10 +26,10 @@ upload-docs:
$(MAKE) -C docs html dirhtml latex epub
$(MAKE) -C docs/_build/latex all-pdf
cd docs/_build/; mv html flask-docs; zip -r flask-docs.zip flask-docs; mv flask-docs html
- rsync -a docs/_build/dirhtml/ pocoo.org:/var/www/flask.pocoo.org/docs/
- rsync -a docs/_build/latex/Flask.pdf pocoo.org:/var/www/flask.pocoo.org/docs/flask-docs.pdf
- rsync -a docs/_build/flask-docs.zip pocoo.org:/var/www/flask.pocoo.org/docs/flask-docs.zip
- rsync -a docs/_build/epub/Flask.epub pocoo.org:/var/www/flask.pocoo.org/docs/flask-docs.epub
+ rsync -a docs/_build/dirhtml/ flow.srv.pocoo.org:/srv/websites/flask.pocoo.org/docs/
+ rsync -a docs/_build/latex/Flask.pdf flow.srv.pocoo.org:/srv/websites/flask.pocoo.org/docs/flask-docs.pdf
+ rsync -a docs/_build/flask-docs.zip flow.srv.pocoo.org:/srv/websites/flask.pocoo.org/docs/flask-docs.zip
+ rsync -a docs/_build/epub/Flask.epub flow.srv.pocoo.org:/srv/websites/flask.pocoo.org/docs/flask-docs.epub
# ebook-convert docs: http://manual.calibre-ebook.com/cli/ebook-convert.html
ebook:
diff --git a/PKG-INFO b/PKG-INFO
index 690e56f..7bb43e5 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,8 +1,8 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
Name: Flask
-Version: 0.10.1
+Version: 0.11.1
Summary: A microframework based on Werkzeug, Jinja2 and good intentions
-Home-page: http://github.com/mitsuhiko/flask/
+Home-page: http://github.com/pallets/flask/
Author: Armin Ronacher
Author-email: armin.ronacher at active-4.com
License: BSD
@@ -16,6 +16,8 @@ Description:
Flask is Fun
````````````
+ Save in a hello.py:
+
.. code:: python
from flask import Flask
@@ -31,6 +33,8 @@ Description:
And Easy to Setup
`````````````````
+ And run it:
+
.. code:: bash
$ pip install Flask
@@ -43,7 +47,7 @@ Description:
* `website <http://flask.pocoo.org/>`_
* `documentation <http://flask.pocoo.org/docs/>`_
* `development version
- <http://github.com/mitsuhiko/flask/zipball/master#egg=Flask-dev>`_
+ <http://github.com/pallets/flask/zipball/master#egg=Flask-dev>`_
Platform: any
@@ -53,6 +57,12 @@ Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff --git a/README b/README
index 9f7bed2..d0e3c52 100644
--- a/README
+++ b/README
@@ -19,11 +19,9 @@
~ What do I need?
- Jinja 2.4 and Werkzeug 0.7 or later.
- `pip` or `easy_install` will install them for you if you do
- `pip install Flask`. I encourage you to use a virtualenv.
- Check the docs for complete installation and usage
- instructions.
+ All dependencies are installed by using `pip install Flask`.
+ We encourage you to use a virtualenv. Check the docs for
+ complete installation and usage instructions.
~ Where are the docs?
@@ -34,20 +32,10 @@
~ Where are the tests?
Good that you're asking. The tests are in the
- flask/testsuite package. To run the tests use the
- `run-tests.py` file:
+ tests/ folder. To run the tests use the
+ `py.test` testing tool:
- $ python run-tests.py
-
- If it's not enough output for you, you can use the
- `--verbose` flag:
-
- $ python run-tests.py --verbose
-
- If you just want one particular testcase to run you can
- provide it on the command line:
-
- $ python run-tests.py test_to_run
+ $ py.test
~ Where can I get help?
diff --git a/artwork/.DS_Store b/artwork/.DS_Store
deleted file mode 100644
index 10f84f9..0000000
Binary files a/artwork/.DS_Store and /dev/null differ
diff --git a/artwork/logo-lineart.svg b/artwork/logo-lineart.svg
new file mode 100644
index 0000000..615260d
--- /dev/null
+++ b/artwork/logo-lineart.svg
@@ -0,0 +1,165 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="211.15901"
+ height="190.52811"
+ id="svg2"
+ version="1.1"
... 22638 lines suppressed ...
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/flask.git
More information about the Python-modules-commits
mailing list