Move babel config out of setup.py.

Use the setup as shown here:
https://github.com/mauritsvanrees/maurits.i18ntalk/blob/master/talk.rst
This commit is contained in:
Maurits van Rees 2013-01-02 11:55:45 +01:00
parent 951dae0d82
commit ceaedb6e2b
3 changed files with 9 additions and 4 deletions

7
extract.ini Normal file
View File

@ -0,0 +1,7 @@
[lingua_python: **.py]
[lingua_xml: **pt]
[lingua_xml: **.xml]
[lingua_zcml: **.zcml]

View File

@ -5,11 +5,13 @@ directory = plone/dexterity/locales
statistics = true
[extract_messages]
mapping_file = extract.ini
copyright_holder = Plone foundation
output_file = plone/dexterity/locales/plone.dexterity.pot
msgid_bugs_address = dexterity-development@googlegroups.com
width = 80
charset = UTF-8
sort_output = true
[init_catalog]
domain = plone.dexterity

View File

@ -22,10 +22,6 @@ setup(name='plone.dexterity',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['plone'],
include_package_data=True,
message_extractors = {"plone": [
("**.py", "chameleon_python", None),
("**.pt" , "chameleon_xml", None),
]},
zip_safe=False,
install_requires=[
# 'Acquisition',