[Checkins] SVN: zope.annotation/trunk/setup.py Altered the way setup.py finds packages

Alexander Heavner alex at zope.com
Tue Feb 13 10:41:37 EST 2007


Log message for revision 72513:
  Altered the way setup.py finds packages
  

Changed:
  U   zope.annotation/trunk/setup.py

-=-
Modified: zope.annotation/trunk/setup.py
===================================================================
--- zope.annotation/trunk/setup.py	2007-02-13 14:56:31 UTC (rev 72512)
+++ zope.annotation/trunk/setup.py	2007-02-13 15:41:37 UTC (rev 72513)
@@ -18,11 +18,6 @@
 
 import os
 
-try:
-    from setuptools import setup, Extension
-except ImportError, e:
-    from distutils.core import setup, Extension
-
 setup(name='zope.annotation',
       version='3.4dev',
       url='http://svn.zope.org/zope.annotation',
@@ -32,7 +27,7 @@
       author_email='zope3-dev at zope.org',
       long_description="Annotations store arbitrary application"
                        "data under package-unique keys.",
-      packages=['zope', 'zope.annotation', 'zope.annotation.tests'],
+      packages=find_packages('src'),
       package_dir = {'': 'src'},
 
       namespace_packages=['zope',],



More information about the Checkins mailing list