[Checkins] SVN: grokapps/BookShelf/ Eggify and buildoutify
Philipp von Weitershausen
philikon at philikon.de
Wed Aug 29 12:04:41 EDT 2007
Log message for revision 79357:
Eggify and buildoutify
Changed:
A grokapps/BookShelf/buildout.cfg
A grokapps/BookShelf/setup.py
-=-
Added: grokapps/BookShelf/buildout.cfg
===================================================================
--- grokapps/BookShelf/buildout.cfg (rev 0)
+++ grokapps/BookShelf/buildout.cfg 2007-08-29 16:04:41 UTC (rev 79357)
@@ -0,0 +1,59 @@
+[buildout]
+develop = .
+parts = app data zopectl test
+find-links = http://download.zope.org/distribution/
+eggs-directory = /Users/philipp/shared-eggs
+newest = false
+
+[data]
+recipe = zc.recipe.filestorage
+
+[app]
+recipe = zc.zope3recipes>=0.5.3:application
+eggs = BookShelf
+site.zcml = <include package="bookshelf" />
+ <include package="zope.app.twisted" />
+
+ <configure i18n_domain="bookshelf">
+ <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 = BookShelf
+defaults = ['--tests-pattern', '^f?tests$', '-v']
Added: grokapps/BookShelf/setup.py
===================================================================
--- grokapps/BookShelf/setup.py (rev 0)
+++ grokapps/BookShelf/setup.py 2007-08-29 16:04:41 UTC (rev 79357)
@@ -0,0 +1,28 @@
+from setuptools import setup, find_packages
+
+version = '0.0'
+
+setup(name='BookShelf',
+ 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
+ """,
+ )
Property changes on: grokapps/BookShelf/setup.py
___________________________________________________________________
Name: svn:eol-style
+ native
More information about the Checkins
mailing list