[KSS-checkins] r46826 - in kukit/kss.templates/trunk/kss/templates: plugin/+package+ zope_plugin
jvloothuis at codespeak.net
jvloothuis at codespeak.net
Sat Sep 22 17:39:29 CEST 2007
Author: jvloothuis
Date: Sat Sep 22 17:39:29 2007
New Revision: 46826
Added:
kukit/kss.templates/trunk/kss/templates/zope_plugin/setup.py_tmpl
Modified:
kukit/kss.templates/trunk/kss/templates/plugin/+package+/__init__.py_tmpl
Log:
Fixed some problems in the Zope plugin template with unneeded code and dependencies on kss.base
Modified: kukit/kss.templates/trunk/kss/templates/plugin/+package+/__init__.py_tmpl
==============================================================================
--- kukit/kss.templates/trunk/kss/templates/plugin/+package+/__init__.py_tmpl (original)
+++ kukit/kss.templates/trunk/kss/templates/plugin/+package+/__init__.py_tmpl Sat Sep 22 17:39:29 2007
@@ -1,8 +0,0 @@
-"""
-${package}
-
-This file loads the finished app from ${package}.config.middleware.
-
-"""
-
-from ${package}.wsgiapp import make_app
Added: kukit/kss.templates/trunk/kss/templates/zope_plugin/setup.py_tmpl
==============================================================================
--- (empty file)
+++ kukit/kss.templates/trunk/kss/templates/zope_plugin/setup.py_tmpl Sat Sep 22 17:39:29 2007
@@ -0,0 +1,19 @@
+from setuptools import setup, find_packages
+
+setup(
+ name=${repr(project)|empty},
+ version=${repr(version)|empty},
+ #description="",
+ #author="",
+ #author_email="",
+ #url="",
+ install_requires=["kss.core"],
+ packages=find_packages(),
+ include_package_data=True,
+ test_suite = '${package}.tests.test_suite',
+ entry_points={
+ 'kss.plugin': [
+ '${namespace}=${package}.config:${package.capitalize()}'
+ ],
+ },
+)
More information about the Kukit-checkins
mailing list