babel-py3k /

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2007 Edgewall Software
# All rights reserved.
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at
# This software consists of voluntary contributions made by many
# individuals. For the exact contribution history, see the revision
# history and logs, available at

from distutils.cmd import Command
import doctest
from glob import glob
import os
    from setuptools import setup
except ImportError:
    from distutils.core import setup
import sys

sys.path.append(os.path.join('doc', 'common'))
    from doctools import build_doc, test_doc
except ImportError:
    build_doc = test_doc = None

    name = 'Babel',
    version = '0.9.3',
    description = 'Internationalization utilities',
    long_description = \
"""A collection of tools for internationalizing Python applications.""",
    author = 'Edgewall Software',
    author_email = '',
    license = 'BSD',
    url = '',
    download_url = '',
    zip_safe = False,

    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Software Development :: Libraries :: Python Modules',
    packages = ['babel', 'babel.messages'],
    package_data = {'babel': ['global.dat', 'localedata/*.dat']},
    test_suite = 'babel.tests.suite',

    entry_points = """
    pybabel = babel.messages.frontend:main
    compile_catalog = babel.messages.frontend:compile_catalog
    extract_messages = babel.messages.frontend:extract_messages
    init_catalog = babel.messages.frontend:init_catalog
    update_catalog = babel.messages.frontend:update_catalog
    message_extractors = babel.messages.frontend:check_message_extractors
    num_plurals = babel.messages.checkers:num_plurals
    python_format = babel.messages.checkers:python_format
    ignore = babel.messages.extract:extract_nothing
    python = babel.messages.extract:extract_python
    javascript = babel.messages.extract:extract_javascript

    cmdclass = {'build_doc': build_doc, 'test_doc': test_doc}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.