[Checkins] SVN: grokapps/Adder/ Eggify and buildoutify

Luciano Ramalho luciano at ramalho.org
Mon Sep 10 10:10:23 EDT 2007


Log message for revision 79556:
  Eggify and buildoutify
  

Changed:
  A   grokapps/Adder/buildout.cfg
  A   grokapps/Adder/setup.py

-=-
Added: grokapps/Adder/buildout.cfg
===================================================================
--- grokapps/Adder/buildout.cfg	                        (rev 0)
+++ grokapps/Adder/buildout.cfg	2007-09-10 14:10:23 UTC (rev 79556)
@@ -0,0 +1,58 @@
+[buildout]
+develop = .
+parts = app data zopectl test
+find-links = http://download.zope.org/distribution/
+newest = false
+
+[data]
+recipe = zc.recipe.filestorage
+
+[app]
+recipe = zc.zope3recipes>=0.5.3:application
+eggs = AnimalTree
+site.zcml = <include package="animaltree" />
+            <include package="zope.app.twisted" />
+
+            <configure i18n_domain="animaltree">
+              <unauthenticatedPrincipal id="zope.anybody"
+                                        title="Unauthenticated User" />
+              <unauthenticatedGroup id="zope.Anybody"
+                                    title="Unauthenticated Users" />
+              <authenticatedGroup id="zope.Authenticated"
+                                title="Authenticated Users" />
+              <everybodyGroup id="zope.Everybody"
+                              title="All Users" />
+              <principal id="zope.manager"
+                         title="Manager"
+                         login="grok"
+                         password_manager="Plain Text"
+                         password="grok"
+                         />
+
+              <!-- Replace the following directive if you don't want
+                   public access -->
+              <grant permission="zope.View"
+                     principal="zope.Anybody" />
+              <grant permission="zope.app.dublincore.view"
+                     principal="zope.Anybody" />
+
+              <role id="zope.Manager" title="Site Manager" />
+              <role id="zope.Member" title="Site Member" />
+              <grantAll role="zope.Manager" />
+              <grant role="zope.Manager"
+                     principal="zope.manager" />
+           </configure>
+
+[data]
+recipe = zc.recipe.filestorage
+
+# this section named so that the start/stop script is called bin/zopectl
+[zopectl]
+recipe = zc.zope3recipes:instance
+application = app
+zope.conf = ${data:zconfig}
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = AnimalTree
+defaults = ['--tests-pattern', '^f?tests$', '-v']

Added: grokapps/Adder/setup.py
===================================================================
--- grokapps/Adder/setup.py	                        (rev 0)
+++ grokapps/Adder/setup.py	2007-09-10 14:10:23 UTC (rev 79556)
@@ -0,0 +1,28 @@
+from setuptools import setup, find_packages
+
+version = '0.0'
+
+setup(name='AnimalTree',
+      version=version,
+      description="",
+      long_description="""\
+""",
+      # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
+      classifiers=[], 
+      keywords="",
+      author="",
+      author_email="",
+      url="",
+      license="",
+      package_dir={'': 'src'},
+      packages=find_packages('src'),
+      include_package_data=True,
+      zip_safe=False,
+      install_requires=['setuptools',
+                        'grok',
+                        # Add extra requirements here
+                        ],
+      entry_points="""
+      # Add entry points here
+      """,
+      )



More information about the Checkins mailing list