sqlalchemy / mako

Mako Templates for Python
https://www.makotemplates.org
MIT License
364 stars 62 forks source link

Specify extras for gettext message extractors #305

Closed sinoroc closed 5 years ago

sinoroc commented 5 years ago

Mako provides 'gettext' message extractors for 'lingua' and 'Babel'. They are declared as 'setuptools' entry points. Such entry points can specify a list of 'extras'. Before loading the entry points 'pkg_resources' checks that these extra dependencies are available. If they are missing pkg_resources raises the appropriate exception and the caller can react accordingly.

GitHub: #304

sqla-tester commented 5 years ago

New Gerrit review created for change 9a1c9a2242a41b553af2524381ab69c2e404a778: https://gerrit.sqlalchemy.org/#/c/sqlalchemy/mako/+/1436

sqla-tester commented 5 years ago

mike bayer (zzzeek) wrote:

Code-Review+2 Workflow+1

sqla-tester commented 5 years ago

Gerrit review https://gerrit.sqlalchemy.org/1436 has been merged. Congratulations! :)