move babeldjango to django_babel

This commit is contained in:
Thomas Grainger 2013-12-11 14:33:52 +00:00
parent 512017d119
commit fd035113db
6 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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 = """