[Checkins] SVN: Sandbox/J1m/project_template/branches/dev/setup.py Compute more boilerplate from name.

Jim Fulton jim at zope.com
Wed May 27 06:48:12 EDT 2009


Log message for revision 100443:
  Compute more boilerplate from name.
  

Changed:
  U   Sandbox/J1m/project_template/branches/dev/setup.py

-=-
Modified: Sandbox/J1m/project_template/branches/dev/setup.py
===================================================================
--- Sandbox/J1m/project_template/branches/dev/setup.py	2009-05-27 10:45:35 UTC (rev 100442)
+++ Sandbox/J1m/project_template/branches/dev/setup.py	2009-05-27 10:48:12 UTC (rev 100443)
@@ -29,8 +29,8 @@
     description = open('README.txt').read().strip().split('\n')[0],
     license = 'ZPL 2.1',
 
-    packages = ['zc', name],
-    namespace_packages = ['zc'],
+    packages = [name.split('.')[0], name],
+    namespace_packages = [name.split('.')[0]],
     package_dir = {'': 'src'},
     install_requires = ['setuptools'],
     zip_safe = False,



More information about the Checkins mailing list