[Checkins] SVN: Sandbox/luciano/kirbi/ first attempt at a buildout
Luciano Ramalho
luciano at ramalho.org
Fri Jul 20 21:52:35 EDT 2007
Log message for revision 78233:
first attempt at a buildout
Changed:
A Sandbox/luciano/kirbi/AUTHOR.txt
A Sandbox/luciano/kirbi/AUTHOR.txt~
A Sandbox/luciano/kirbi/LICENSE.txt
A Sandbox/luciano/kirbi/README.txt
A Sandbox/luciano/kirbi/buildout.cfg
A Sandbox/luciano/kirbi/setup.py
-=-
Added: Sandbox/luciano/kirbi/AUTHOR.txt
===================================================================
--- Sandbox/luciano/kirbi/AUTHOR.txt (rev 0)
+++ Sandbox/luciano/kirbi/AUTHOR.txt 2007-07-21 01:52:35 UTC (rev 78233)
@@ -0,0 +1,3 @@
+Luciano Ramalho <luciano at the ramalho.org domain>
+with lots of help from the Brazilian and the International Grok communities
+(special thanks to Fernando Correa for help with packaging)
Added: Sandbox/luciano/kirbi/AUTHOR.txt~
===================================================================
--- Sandbox/luciano/kirbi/AUTHOR.txt~ (rev 0)
+++ Sandbox/luciano/kirbi/AUTHOR.txt~ 2007-07-21 01:52:35 UTC (rev 78233)
@@ -0,0 +1,3 @@
+Luciano Ramalho <luciano at ramalho.org>
+with lots of help from the Brazilian and the International Grok communities
+(special thanks to Fernando Correa for help with packaging)
Added: Sandbox/luciano/kirbi/LICENSE.txt
===================================================================
--- Sandbox/luciano/kirbi/LICENSE.txt (rev 0)
+++ Sandbox/luciano/kirbi/LICENSE.txt 2007-07-21 01:52:35 UTC (rev 78233)
@@ -0,0 +1,54 @@
+Zope Public License (ZPL) Version 2.1
+-------------------------------------
+
+A copyright notice accompanies this license document that
+identifies the copyright holders.
+
+This license has been certified as open source. It has also
+been designated as GPL compatible by the Free Software
+Foundation (FSF).
+
+Redistribution and use in source and binary forms, with or
+without modification, are permitted provided that the
+following conditions are met:
+
+1. Redistributions in source code must retain the
+ accompanying copyright notice, this list of conditions,
+ and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the accompanying
+ copyright notice, this list of conditions, and the
+ following disclaimer in the documentation and/or other
+ materials provided with the distribution.
+
+3. Names of the copyright holders must not be used to
+ endorse or promote products derived from this software
+ without prior written permission from the copyright
+ holders.
+
+4. The right to distribute this software or to use it for
+ any purpose does not give you the right to use
+ Servicemarks (sm) or Trademarks (tm) of the copyright
+ holders. Use of them is covered by separate agreement
+ with the copyright holders.
+
+5. If any files are modified, you must cause the modified
+ files to carry prominent notices stating that you changed
+ the files and the date of any change.
+
+Disclaimer
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS''
+ AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+ NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+ NO EVENT SHALL THE COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGE.
Added: Sandbox/luciano/kirbi/README.txt
===================================================================
--- Sandbox/luciano/kirbi/README.txt (rev 0)
+++ Sandbox/luciano/kirbi/README.txt 2007-07-21 01:52:35 UTC (rev 78233)
@@ -0,0 +1,55 @@
+=============================
+Kirbi: a P2P library manager
+=============================
+
+Kirbi is a sample application to test Grok and help programmers learn
+how to use it to build a complete app.
+
+Kirbi also aims to be useful and not just a sample. It is a system to allow
+friends and colleagues to share their books and DVDs without losing track
+of them.
+
+Use cases
+===========
+
+Done
+-----
+
+* Add books to the public catalog via a Web form or XML-RPC
+
+* Allow searches to the public catalog
+
+To Do
+------
+
+* Add books by entering just the ISBN, and letting Kirbi fetch the book data
+ from Amazon.com (under development)
+
+* Add books by entering title words or author names, and letting Kirbi fetch
+ some likely candidates from Amazon.com
+
+* User self-registration
+
+* User catalogs own collections
+
+* User invites friends to share specific collections
+
+* User requests to borrow an item
+
+* User approves the loan of an item
+
+* User tracks lent items
+
+* User tracks borrowed items
+
+
+Other tasks
+===========
+
+* Add tests
+
+* Packaging (buildout, eggification)
+
+* AJAXification using some framework (whatever Uli chooses for the Grok Admin
+ UI, currently MojiKit or KSS)
+
Added: Sandbox/luciano/kirbi/buildout.cfg
===================================================================
--- Sandbox/luciano/kirbi/buildout.cfg (rev 0)
+++ Sandbox/luciano/kirbi/buildout.cfg 2007-07-21 01:52:35 UTC (rev 78233)
@@ -0,0 +1,57 @@
+[buildout]
+develop = .
+parts = app data zopectl test
+find-links = http://download.zope.org/distribution/
+eggs-directory = /home/luciano/gsoc2007/buildout-eggs
+newest = false
+
+[data]
+recipe = zc.recipe.filestorage
+
+[app]
+recipe = zc.zope3recipes>=0.5.3:application
+eggs = Kirbi
+site.zcml = <include package="kirbi" />
+ <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 = app
+zope.conf = ${data:zconfig}
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = Kirbi
+defaults = ['--tests-pattern', '^f?tests$', '-v']
Added: Sandbox/luciano/kirbi/setup.py
===================================================================
--- Sandbox/luciano/kirbi/setup.py (rev 0)
+++ Sandbox/luciano/kirbi/setup.py 2007-07-21 01:52:35 UTC (rev 78233)
@@ -0,0 +1,34 @@
+import os
+from setuptools import setup, find_packages
+
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+setup (
+ name='kirbi',
+ version='1.0.0',
+ author = "Luciano Ramalho",
+ author_email = "lucian at ramalho.org",
+ description = "Kirbi: p2p library management system",
+ long_description=(
+ read('README.txt')
+ ),
+ license = "ZPL 2.1",
+ keywords = "zope3 kirbi grok",
+ 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'],
+ url = 'http://svn.zope.org/Sandbox/luciano/kirbi',
+ packages = find_packages('src'),
+ include_package_data = True,
+ package_dir = {'':'src'},
+ namespace_packages = ['kirbi'],
+ zip_safe = False,
+ )
More information about the Checkins
mailing list