diff setup.py @ 12:e6ba3e878b10 trunk

* 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 7870274479f5
children 0739bc8e7210
line wrap: on
line diff
--- a/setup.py
+++ b/setup.py
@@ -12,10 +12,14 @@
 # individuals. For the exact contribution history, see the revision
 # history and logs, available at http://babel.edgewall.org/log/.
 
+from distutils.cmd import Command
 import doctest
 from glob import glob
 import os
-from setuptools import find_packages, setup, Command
+try:
+    from setuptools import setup
+except ImportError:
+    from distutils.core import setup
 import sys
 
 
@@ -97,7 +101,7 @@
         'Programming Language :: Python',
         'Topic :: Software Development :: Libraries :: Python Modules',
     ],
-    packages = find_packages(exclude=['tests']),
+    packages = ['babel', 'babel.catalog'],
     package_data = {'babel': ['localedata/*.dat']},
     test_suite = 'babel.tests.suite',
 
Copyright (C) 2012-2017 Edgewall Software