comparison setup.py @ 14:29ef15a6fd75

* Removed pkg_resources/setuptools requirement from various places. * Fixed copyright year in a couple of file headers. * Some cleanup.
author cmlenz
date Thu, 31 May 2007 08:38:54 +0000
parents e9eaddab598e
children cf94e70a77f3
comparison
equal deleted inserted replaced
13:da3326ba1301 14:29ef15a6fd75
10 # 10 #
11 # This software consists of voluntary contributions made by many 11 # This software consists of voluntary contributions made by many
12 # individuals. For the exact contribution history, see the revision 12 # individuals. For the exact contribution history, see the revision
13 # history and logs, available at http://babel.edgewall.org/log/. 13 # history and logs, available at http://babel.edgewall.org/log/.
14 14
15 from distutils.cmd import Command
15 import doctest 16 import doctest
16 from glob import glob 17 from glob import glob
17 import os 18 import os
18 from setuptools import find_packages, setup, Command 19 try:
20 from setuptools import setup
21 except ImportError:
22 from distutils.core import setup
19 import sys 23 import sys
20 24
21 25
22 class build_doc(Command): 26 class build_doc(Command):
23 description = 'Builds the documentation' 27 description = 'Builds the documentation'
95 'License :: OSI Approved :: BSD License', 99 'License :: OSI Approved :: BSD License',
96 'Operating System :: OS Independent', 100 'Operating System :: OS Independent',
97 'Programming Language :: Python', 101 'Programming Language :: Python',
98 'Topic :: Software Development :: Libraries :: Python Modules', 102 'Topic :: Software Development :: Libraries :: Python Modules',
99 ], 103 ],
100 packages = find_packages(exclude=['tests']), 104 packages = ['babel', 'babel.catalog'],
101 package_data = {'babel': ['localedata/*.dat']}, 105 package_data = {'babel': ['localedata/*.dat']},
102 test_suite = 'babel.tests.suite', 106 test_suite = 'babel.tests.suite',
103 107
104 entry_points = """ 108 entry_points = """
105 [console_scripts] 109 [console_scripts]
Copyright (C) 2012-2017 Edgewall Software