Skip to content

Commit

Permalink
remove deprecated flask.ext
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Jun 26, 2017
1 parent 4c56477 commit 715a9a3
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 495 deletions.
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ Major release, unreleased
if ``app.jinja_env`` was already accessed. (`#2373`_)
- The following old deprecated code was removed. (`#2385`_)

- ``flask.ext`` - import extensions directly by their name instead of
through the ``flask.ext`` namespace. For example,
``import flask.ext.sqlalchemy`` becomes ``import flask_sqlalchemy``.
- ``Flask.init_jinja_globals`` - extend ``Flask.create_jinja_environment``
instead.
- ``Flask.error_handlers`` - tracked by ``Flask.error_handler_spec``,
Expand Down
29 changes: 0 additions & 29 deletions flask/ext/__init__.py

This file was deleted.

143 changes: 0 additions & 143 deletions flask/exthook.py

This file was deleted.

125 changes: 0 additions & 125 deletions scripts/flaskext_compat.py

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def hello():
description='A microframework based on Werkzeug, Jinja2 '
'and good intentions',
long_description=__doc__,
packages=['flask', 'flask.ext', 'flask.json'],
packages=['flask', 'flask.json'],
include_package_data=True,
zip_safe=False,
platforms='any',
Expand Down
Loading

0 comments on commit 715a9a3

Please sign in to comment.