setup.py 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import os
  4. import codecs
  5. from setuptools import setup, find_packages
  6. def read(*parts):
  7. filename = os.path.join(os.path.dirname(__file__), *parts)
  8. with codecs.open(filename, encoding='utf-8') as fp:
  9. return fp.read()
  10. setup(
  11. name='django-babel',
  12. description='Utilities for using Babel in Django',
  13. long_description=read('README.rst') + u'\n\n' + read('CHANGELOG.rst'),
  14. version='0.6.3.dev0',
  15. license='BSD',
  16. author='Christopher Grebs',
  17. author_email='cg@webshox.org',
  18. maintainer='Thomas Grainger',
  19. maintainer_email='django-babel@graingert.co.uk',
  20. url='https://github.com/python-babel/django-babel/',
  21. packages=find_packages(exclude=('tests',)),
  22. install_requires=[
  23. 'django>=1.8,<3.3',
  24. 'babel>=1.3',
  25. ],
  26. classifiers=[
  27. 'Development Status :: 4 - Beta',
  28. 'Environment :: Web Environment',
  29. 'Intended Audience :: Developers',
  30. 'License :: OSI Approved :: BSD License',
  31. 'Operating System :: OS Independent',
  32. 'Programming Language :: Python',
  33. 'Topic :: Software Development :: Libraries :: Python Modules',
  34. 'Framework :: Django',
  35. 'Programming Language :: Python :: 2',
  36. 'Programming Language :: Python :: 2.7',
  37. 'Programming Language :: Python :: 3',
  38. 'Programming Language :: Python :: 3.4',
  39. 'Programming Language :: Python :: 3.5',
  40. 'Programming Language :: Python :: 3.6',
  41. 'Programming Language :: Python :: Implementation :: PyPy',
  42. 'Programming Language :: Python :: Implementation :: CPython',
  43. ],
  44. entry_points={
  45. 'babel.extractors': [
  46. 'django = django_babel.extract:extract_django',
  47. ]
  48. }
  49. )