[Checkins] SVN: RestrictedPython/trunk/setup.py Use setuptools.find_packages to find packages.

Baiju M baiju.m.mail at gmail.com
Sat Mar 17 02:22:49 EDT 2007


Log message for revision 73257:
  Use setuptools.find_packages to find packages.
  

Changed:
  U   RestrictedPython/trunk/setup.py

-=-
Modified: RestrictedPython/trunk/setup.py
===================================================================
--- RestrictedPython/trunk/setup.py	2007-03-17 05:52:33 UTC (rev 73256)
+++ RestrictedPython/trunk/setup.py	2007-03-17 06:22:48 UTC (rev 73257)
@@ -18,7 +18,7 @@
 
 import os
 
-from setuptools import setup, Extension
+from setuptools import setup, find_packages
 
 def read(*rnames):
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
@@ -38,7 +38,7 @@
         '**********************\n'
         ),
 
-      packages = ['RestrictedPython'],
+      packages = find_packages('src'),
       package_dir = {'': 'src'},
 
       tests_require = ['zope.testing'],



More information about the Checkins mailing list