annotate setup.py @ 539:0fb55e21017c

add missing changelog entries in 0.9.6 section of trunk changelog
author fschwarz
date Fri, 11 Mar 2011 16:42:37 +0000
parents e93f68837913
children
rev   line source
3
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
1 #!/usr/bin/env python
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
2 # -*- coding: utf-8 -*-
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
3 #
532
e93f68837913 Update the copyright line.
jruigrok
parents: 400
diff changeset
4 # Copyright (C) 2007-2011 Edgewall Software
3
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
5 # All rights reserved.
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
6 #
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
7 # This software is licensed as described in the file COPYING, which
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
8 # you should have received as part of this distribution. The terms
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
9 # are also available at http://babel.edgewall.org/wiki/License.
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
10 #
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
11 # This software consists of voluntary contributions made by many
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
12 # individuals. For the exact contribution history, see the revision
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
13 # history and logs, available at http://babel.edgewall.org/log/.
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
14
14
29ef15a6fd75 * Removed pkg_resources/setuptools requirement from various places.
cmlenz
parents: 3
diff changeset
15 from distutils.cmd import Command
3
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
16 import doctest
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
17 from glob import glob
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
18 import os
14
29ef15a6fd75 * Removed pkg_resources/setuptools requirement from various places.
cmlenz
parents: 3
diff changeset
19 try:
29ef15a6fd75 * Removed pkg_resources/setuptools requirement from various places.
cmlenz
parents: 3
diff changeset
20 from setuptools import setup
29ef15a6fd75 * Removed pkg_resources/setuptools requirement from various places.
cmlenz
parents: 3
diff changeset
21 except ImportError:
29ef15a6fd75 * Removed pkg_resources/setuptools requirement from various places.
cmlenz
parents: 3
diff changeset
22 from distutils.core import setup
3
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
23 import sys
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
24
238
d75cfd01f218 Documentation stuff moved to a shared repository.
cmlenz
parents: 235
diff changeset
25 sys.path.append(os.path.join('doc', 'common'))
d75cfd01f218 Documentation stuff moved to a shared repository.
cmlenz
parents: 235
diff changeset
26 try:
d75cfd01f218 Documentation stuff moved to a shared repository.
cmlenz
parents: 235
diff changeset
27 from doctools import build_doc, test_doc
d75cfd01f218 Documentation stuff moved to a shared repository.
cmlenz
parents: 235
diff changeset
28 except ImportError:
d75cfd01f218 Documentation stuff moved to a shared repository.
cmlenz
parents: 235
diff changeset
29 build_doc = test_doc = None
3
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
30
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
31
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
32 setup(
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
33 name = 'Babel',
268
758556f6edb4 Bump up version number on trunk.
cmlenz
parents: 238
diff changeset
34 version = '1.0',
3
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
35 description = 'Internationalization utilities',
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
36 long_description = \
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
37 """A collection of tools for internationalizing Python applications.""",
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
38 author = 'Edgewall Software',
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
39 author_email = 'info@edgewall.org',
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
40 license = 'BSD',
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
41 url = 'http://babel.edgewall.org/',
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
42 download_url = 'http://babel.edgewall.org/wiki/Download',
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
43 zip_safe = False,
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
44
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
45 classifiers = [
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
46 'Development Status :: 4 - Beta',
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
47 'Environment :: Web Environment',
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
48 'Intended Audience :: Developers',
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
49 'License :: OSI Approved :: BSD License',
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
50 'Operating System :: OS Independent',
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
51 'Programming Language :: Python',
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
52 'Topic :: Software Development :: Libraries :: Python Modules',
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
53 ],
56
27d55a07c897 Rename the `babel.catalog` package to `babel.messages` for consistency with the other package names.
cmlenz
parents: 54
diff changeset
54 packages = ['babel', 'babel.messages'],
235
d0cd235ede46 Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents: 222
diff changeset
55 package_data = {'babel': ['global.dat', 'localedata/*.dat']},
3
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
56 test_suite = 'babel.tests.suite',
400
df4bda99cf8e Make the dependency on pytz for the tests explicit in `setup.py`.
cmlenz
parents: 341
diff changeset
57 tests_require = ['pytz'],
3
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
58
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
59 entry_points = """
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
60 [console_scripts]
191
a16401b8b989 Rename command-line script to avoid conflict with the OpenBabel project. Closes #34.
cmlenz
parents: 183
diff changeset
61 pybabel = babel.messages.frontend:main
3
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
62
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
63 [distutils.commands]
162
661cb602781d Add MO file generation. Closes #21.
cmlenz
parents: 143
diff changeset
64 compile_catalog = babel.messages.frontend:compile_catalog
56
27d55a07c897 Rename the `babel.catalog` package to `babel.messages` for consistency with the other package names.
cmlenz
parents: 54
diff changeset
65 extract_messages = babel.messages.frontend:extract_messages
183
e927dffc9ab4 The frontends now provide ways to update existing translations catalogs from a template. Closes #22.
cmlenz
parents: 162
diff changeset
66 init_catalog = babel.messages.frontend:init_catalog
e927dffc9ab4 The frontends now provide ways to update existing translations catalogs from a template. Closes #22.
cmlenz
parents: 162
diff changeset
67 update_catalog = babel.messages.frontend:update_catalog
3
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
68
51
3664c93860f1 Support a `message_extractors` keyword argument directly in `setup()`. Closes #4.
cmlenz
parents: 42
diff changeset
69 [distutils.setup_keywords]
56
27d55a07c897 Rename the `babel.catalog` package to `babel.messages` for consistency with the other package names.
cmlenz
parents: 54
diff changeset
70 message_extractors = babel.messages.frontend:check_message_extractors
51
3664c93860f1 Support a `message_extractors` keyword argument directly in `setup()`. Closes #4.
cmlenz
parents: 42
diff changeset
71
222
bd8b1301b27e Added infrastructure for adding catalog checkers, and implement a checker that validations Python format parameters in translations, closing #19.
cmlenz
parents: 191
diff changeset
72 [babel.checkers]
bd8b1301b27e Added infrastructure for adding catalog checkers, and implement a checker that validations Python format parameters in translations, closing #19.
cmlenz
parents: 191
diff changeset
73 num_plurals = babel.messages.checkers:num_plurals
bd8b1301b27e Added infrastructure for adding catalog checkers, and implement a checker that validations Python format parameters in translations, closing #19.
cmlenz
parents: 191
diff changeset
74 python_format = babel.messages.checkers:python_format
bd8b1301b27e Added infrastructure for adding catalog checkers, and implement a checker that validations Python format parameters in translations, closing #19.
cmlenz
parents: 191
diff changeset
75
3
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
76 [babel.extractors]
140
3b3a487cc46f Genshi extraction method has moved to Genshi project. Closes #13.
cmlenz
parents: 118
diff changeset
77 ignore = babel.messages.extract:extract_nothing
56
27d55a07c897 Rename the `babel.catalog` package to `babel.messages` for consistency with the other package names.
cmlenz
parents: 54
diff changeset
78 python = babel.messages.extract:extract_python
341
672b6b8e945d Added !JavaScript extractor
aronacher
parents: 268
diff changeset
79 javascript = babel.messages.extract:extract_javascript
3
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
80 """,
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
81
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
82 cmdclass = {'build_doc': build_doc, 'test_doc': test_doc}
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
83 )
Copyright (C) 2012-2017 Edgewall Software