[Checkins] SVN: Sandbox/ulif/grokadmin/trunk/ buildoutify package.

Uli Fouquet uli at gnufix.de
Tue Jun 10 04:04:58 EDT 2008


Log message for revision 87271:
  buildoutify package.

Changed:
  A   Sandbox/ulif/grokadmin/trunk/buildout.cfg
  A   Sandbox/ulif/grokadmin/trunk/setup.py

-=-
Added: Sandbox/ulif/grokadmin/trunk/buildout.cfg
===================================================================
--- Sandbox/ulif/grokadmin/trunk/buildout.cfg	                        (rev 0)
+++ Sandbox/ulif/grokadmin/trunk/buildout.cfg	2008-06-10 08:04:57 UTC (rev 87271)
@@ -0,0 +1,60 @@
+[buildout]
+develop = . grok
+parts = grokadmin data zopectl test
+find-links = http://download.zope.org/distribution/
+newest = false
+versions = versions
+
+[versions]
+zope.app.securitypolicy = 3.4.0a1 
+
+[data]
+recipe = zc.recipe.filestorage
+
+[grokadmin]
+recipe = zc.zope3recipes>=0.5.3:application
+eggs = grokadmin
+site.zcml = <include package="grokadmin" />
+            <include package="zope.app.twisted" />
+
+            <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" />
+
+[data]
+recipe = zc.recipe.filestorage
+
+# this section named so that the start/stop script is called bin/zopectl
+[zopectl]
+recipe = zc.zope3recipes:instance
+application = grokadmin
+zope.conf = ${data:zconfig}
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = grokadmin
+defaults = ['--tests-pattern', '^f?tests$', '-v']

Added: Sandbox/ulif/grokadmin/trunk/setup.py
===================================================================
--- Sandbox/ulif/grokadmin/trunk/setup.py	                        (rev 0)
+++ Sandbox/ulif/grokadmin/trunk/setup.py	2008-06-10 08:04:57 UTC (rev 87271)
@@ -0,0 +1,40 @@
+import os
+from setuptools import setup, find_packages
+
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+setup(name='grokadmin',
+      version='0.1',
+      description="GrokAdmin: The Grok administration and development UI",
+      long_description=(
+        read('README.txt')
+        ),
+      # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
+      classifiers=[
+        'Development Status :: 1 - Beta',
+        'Environment :: Web Environment',
+        'Intended Audience :: Developers',
+        'License :: OSI Approved :: Zope Public License',
+        'Programming Language :: Python',
+        'Natural Language :: English',
+        'Operating System :: OS Independent',
+        'Topic :: Internet :: WWW/HTTP',
+        'Framework :: Zope3 :: Grok'], 
+      keywords="zope3 grok grokadmin",
+      author="Uli Fouquet and lots of contributors from grok community",
+      author_email="grok-dev at zope.org",
+      url="http://svn.zope.org/Sandbox/ulif/grokadmin",
+      license="ZPL 2.1",
+      package_dir={'': 'src'},
+      packages=find_packages('src'),
+      include_package_data=True,
+      zip_safe=False,
+      namespace_packages = ['grokadmin'],
+      install_requires=['setuptools',
+                        'grok',
+                        ],
+      entry_points="""
+      # Add entry points here
+      """,
+      )



More information about the Checkins mailing list