Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(38)  |  Call(17)  |  Derive(9)  |  Import(12)
Catalog compilation command for use in ``setup.py`` scripts.

If correctly installed, this command is available to Setuptools-using
setup scripts automatically. For projects using plain old ``distutils``,
the command needs to be registered explicitly in ``setup.py``::

    from babel.messages.frontend import compile_catalog

    setup(
        ...(more...)

src/b/p/bpython-0.12/setup.py   bpython(Download)
 
try:
    from babel.messages.frontend import compile_catalog as _compile_catalog
    from babel.messages.frontend import extract_messages as _extract_messages
    from babel.messages.frontend import update_catalog as _update_catalog
    class compile_catalog(_compile_catalog):
        def initialize_options(self):
            """Simply set default domain and directory attributes to the
            correct path for bpython."""
            _compile_catalog.initialize_options(self)

src/b/p/bphython-0.0.2/setup.py   bphython(Download)
 
try:
    from babel.messages.frontend import compile_catalog as _compile_catalog
    from babel.messages.frontend import extract_messages as _extract_messages
    from babel.messages.frontend import update_catalog as _update_catalog
    class compile_catalog(_compile_catalog):
        def initialize_options(self):
            """Simply set default domain and directory attributes to the
            correct path for bpython."""
            _compile_catalog.initialize_options(self)

src/b/l/bloodhound-HEAD/trac/trac/dist.py   bloodhound(Download)
    from babel.messages.catalog import TranslationError
    from babel.messages.extract import extract_javascript
    from babel.messages.frontend import extract_messages, init_catalog, \
                                        compile_catalog, update_catalog
    from babel.messages.pofile import read_po

src/t/r/Trac-1.0.1/trac/dist.py   Trac(Download)
    from babel.messages.catalog import TranslationError
    from babel.messages.extract import extract_javascript
    from babel.messages.frontend import extract_messages, init_catalog, \
                                        compile_catalog, update_catalog
    from babel.messages.pofile import read_po

src/t/r/trac-HEAD/trac/dist.py   trac(Download)
    from babel.messages.catalog import TranslationError
    from babel.messages.extract import extract_javascript
    from babel.messages.frontend import extract_messages, init_catalog, \
                                        compile_catalog, update_catalog
    from babel.messages.pofile import read_po

src/n/o/noc-0.7(3)/contrib/src/Sphinx/setup.py   noc(Download)
try:
    from babel.messages.pofile import read_po
    from babel.messages.frontend import compile_catalog
    try:
        from simplejson import dump
    class compile_catalog_plusjs(compile_catalog):
        """
        An extended command that writes all message strings that occur in
        JavaScript files to a JavaScript file along with the .mo file.
 

src/t/r/Tribus-0.1.dev20131207073801/tribus/common/setup/build.py   Tribus(Download)
from docutils.writers import manpage
from sphinx.setup_command import BuildDoc as base_build_sphinx
from babel.messages.frontend import compile_catalog as base_compile_catalog
 
from tribus.config.base import BASEDIR, DOCDIR
class compile_catalog(base_compile_catalog):
 
    def get_sphinx_pot_list(self):
        return filter(None, list_files(get_path([DOCDIR, 'rst', 'i18n', 'pot'])))
 

src/o/h/oh-mainline-HEAD/vendor/packages/sphinx/setup.py   oh-mainline(Download)
try:
    from babel.messages.pofile import read_po
    from babel.messages.frontend import compile_catalog
    try:
        from simplejson import dump
    class compile_catalog_plusjs(compile_catalog):
        """
        An extended command that writes all message strings that occur in
        JavaScript files to a JavaScript file along with the .mo file.
 

src/h/g/hgblog-0.7.1/setup.py   hgblog(Download)
try:
    from babel.messages.pofile import read_po
    from babel.messages.frontend import compile_catalog
    try:
        from simplejson import dump
    class compile_catalog_plusjs(compile_catalog):
        """
        An extended command that writes all message strings that occur in
        JavaScript files to a JavaScript file along with the .mo file.
 

src/s/p/Sphinx-1.2.2/setup.py   Sphinx(Download)
try:
    from babel.messages.pofile import read_po
    from babel.messages.frontend import compile_catalog
    try:
        from simplejson import dump
    class compile_catalog_plusjs(compile_catalog):
        """
        An extended command that writes all message strings that occur in
        JavaScript files to a JavaScript file along with the .mo file.
 

  1 | 2 | 3  Next