[cc-commits] [CC SVN] r12270 - scicom/mta/branches/nyergler-mta2-branch

webmaster at creativecommons.org webmaster at creativecommons.org
Mon Apr 20 12:39:17 EDT 2009


Author: nyergler
Date: 2009-04-20 16:39:17 +0000 (Mon, 20 Apr 2009)
New Revision: 12270

Modified:
   scicom/mta/branches/nyergler-mta2-branch/setup.py
Log:
Support for running scicom.mta_web under Paster.


Modified: scicom/mta/branches/nyergler-mta2-branch/setup.py
===================================================================
--- scicom/mta/branches/nyergler-mta2-branch/setup.py	2009-04-20 16:38:44 UTC (rev 12269)
+++ scicom/mta/branches/nyergler-mta2-branch/setup.py	2009-04-20 16:39:17 UTC (rev 12270)
@@ -30,9 +30,11 @@
                         'http://ftp.schooltool.org/schooltool/eggs/Reportlab-2.1.tar.gz#egg=Reportlab-2.1'],
 
     install_requires = ['setuptools',
-                        'CherryPy<=3.0.999',
                         'simplejson',
                         'Genshi',
+                        'PasteScript[wsgiutils]',
+                        'PasteDeploy',
+                        'CherryPy<=3.0.999',
                         'zdaemon',
                         'PIL',
                         'Reportlab==2.1', 
@@ -44,8 +46,11 @@
     zip_safe = False,
 
     entry_points = { 'console_scripts':
-                     ['server = scicom.mta_web.app:serve',
-                      ],
+                         ['server = scicom.mta_web.app:serve',
+                          ],
+                     'paste.app_factory':
+                         ['main=scicom.mta_web.app:app_factory',
+                          ],
                      },
 
     # author metadata




More information about the cc-commits mailing list