1. mohammad Efazati
  2. wtforms

Commits

James Crasta  committed a86639c

setup.cfg includes configuration for babel tools, and make sure messages are included in tarball.

  • Participants
  • Parent commits fdb26b2
  • Branches default

Comments (0)

Files changed (3)

File MANIFEST.in

View file
 recursive-include tests *
 recursive-exclude docs/_build *
 recursive-exclude tests *.pyc
+recursive-include wtforms/ext/i18n/messages *

File setup.cfg

View file
+[extract_messages]
+copyright_holder=WTForms Team
+output_file=wtforms/ext/i18n/messages/wtforms.pot
+
+[init_catalog]
+input_file=wtforms/ext/i18n/messages/wtforms.pot
+output_dir=wtforms/ext/i18n/messages/
+domain=wtforms
+
+[compile_catalog]
+directory=wtforms/ext/i18n/messages/
+domain=wtforms

File setup.py

View file
         'wtforms.ext.dateutil',
         'wtforms.ext.django',
         'wtforms.ext.django.templatetags',
+        'wtforms.ext.i18n',
         'wtforms.ext.sqlalchemy',
     ],
     **extra