setup.py 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Copyright (C) 2007 Edgewall Software
  5. # All rights reserved.
  6. #
  7. # This software is licensed as described in the file COPYING, which
  8. # you should have received as part of this distribution. The terms
  9. # are also available at http://babel.edgewall.org/wiki/License.
  10. #
  11. # This software consists of voluntary contributions made by many
  12. # individuals. For the exact contribution history, see the revision
  13. # history and logs, available at http://babel.edgewall.org/log/.
  14. try:
  15. from setuptools import setup
  16. except ImportError:
  17. from distutils.core import setup
  18. setup(
  19. name = 'BabelDjango',
  20. description = 'Utilities for using Babel in Django',
  21. version = '0.2.2',
  22. license = 'BSD',
  23. author = 'Edgewall Software',
  24. author_email = 'python-babel@googlegroups.com',
  25. url = 'http://babel.edgewall.org/wiki/BabelDjango',
  26. packages = ['babeldjango', 'babeldjango.templatetags'],
  27. install_requires = ['Babel'],
  28. entry_points = """
  29. [babel.extractors]
  30. django = babeldjango.extract:extract_django
  31. """,
  32. )