move babeldjango to django_babel
This commit is contained in:
parent
512017d119
commit
fd035113db
@ -19,7 +19,7 @@ try:
|
||||
except ImportError:
|
||||
timezone = None
|
||||
|
||||
from babeldjango.middleware import get_current_locale
|
||||
from .middleware import get_current_locale
|
||||
|
||||
babel = __import__('babel', {}, {}, ['core', 'support'])
|
||||
Format = babel.support.Format
|
7
setup.py
7
setup.py
@ -12,7 +12,7 @@
|
||||
# individuals. For the exact contribution history, see the revision
|
||||
# history and logs, available at http://babel.edgewall.org/log/.
|
||||
|
||||
from setuptools import setup
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name = 'django-babel',
|
||||
@ -22,8 +22,9 @@ setup(
|
||||
author = 'Edgewall Software',
|
||||
author_email = 'python-babel@googlegroups.com',
|
||||
url = 'http://github.com/graingert/django-babel/',
|
||||
|
||||
packages = ['babeldjango', 'babeldjango.templatetags'],
|
||||
packages = find_packages(
|
||||
exclude=["*.tests", "*.tests.*", "tests.*", "tests"],
|
||||
),
|
||||
install_requires = ['Babel'],
|
||||
|
||||
entry_points = """
|
||||
|
Loading…
Reference in New Issue
Block a user