Skip to content

Commit fd03511

Browse files
committed
move babeldjango to django_babel
1 parent 512017d commit fd03511

File tree

6 files changed

+5
-4
lines changed

6 files changed

+5
-4
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

babeldjango/templatetags/babel.py renamed to django_babel/templatetags/babel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
except ImportError:
2020
timezone = None
2121

22-
from babeldjango.middleware import get_current_locale
22+
from .middleware import get_current_locale
2323

2424
babel = __import__('babel', {}, {}, ['core', 'support'])
2525
Format = babel.support.Format

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# individuals. For the exact contribution history, see the revision
1313
# history and logs, available at http://babel.edgewall.org/log/.
1414

15-
from setuptools import setup
15+
from setuptools import setup, find_packages
1616

1717
setup(
1818
name = 'django-babel',
@@ -22,8 +22,9 @@
2222
author = 'Edgewall Software',
2323
author_email = '[email protected]',
2424
url = 'http://github.com/graingert/django-babel/',
25-
26-
packages = ['babeldjango', 'babeldjango.templatetags'],
25+
packages = find_packages(
26+
exclude=["*.tests", "*.tests.*", "tests.*", "tests"],
27+
),
2728
install_requires = ['Babel'],
2829

2930
entry_points = """

0 commit comments

Comments
 (0)