[Checkins] SVN: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/ added
Andreas Jung
andreas at andreas-jung.com
Sat May 16 10:46:49 EDT 2009
Log message for revision 100018:
added
Changed:
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/.installed.cfg
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bootstrap.py
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/buildout.cfg
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/develop-eggs/
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/develop-eggs/zopyx-smartprintng-server.egg-link
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/debug.ini
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/deploy.ini
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/site.zcml
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/zdaemon.conf
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/zope.conf
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/setup.py
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/__init__.py
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/app.py
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/app.txt
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/app_templates/
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/app_templates/index.pt
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/configure.zcml
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/ftesting.zcml
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/startup.py
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/static/
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/static/README.txt
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/tests.py
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/PKG-INFO
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/SOURCES.txt
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/dependency_links.txt
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/entry_points.txt
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/not-zip-safe
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/requires.txt
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/top_level.txt
A zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/versions.cfg
-=-
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/.installed.cfg
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/.installed.cfg (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/.installed.cfg 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,97 @@
+[buildout]
+installed_develop_eggs = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/develop-eggs/zopyx-smartprintng-server.egg-link
+parts = eggbasket app i18n test data log
+
+[eggbasket]
+__buildout_installed__ =
+__buildout_signature__ = z3c.recipe.eggbasket-0.4.0-py2.4.egg zc.recipe.egg-1.1.0b1-py2.4.egg zc.buildout-1.2.1-py2.4.egg setuptools-0.6c9-py2.4.egg zc.buildout-1.2.1-py2.4.egg
+_d = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/develop-eggs
+_e = /home/ajung/.buildout/eggs
+develop-eggs-directory = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/develop-eggs
+eggs = grok
+eggs-directory = /home/ajung/.buildout/eggs
+executable = /opt/python-2.4.4/bin/python2.4
+recipe = z3c.recipe.eggbasket
+url = http://grok.zope.org/releaseinfo/grok-eggs-1.0a3.tgz
+
+[app]
+__buildout_installed__ = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bin/zopyx_smartprintng_server-debug
+ /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bin/zopyx_smartprintng_server-ctl
+ /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bin/paster
+ /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bin/python-console
+__buildout_signature__ = zc.recipe.egg-1.1.0b1-py2.4.egg setuptools-0.6c9-py2.4.egg zc.buildout-1.2.1-py2.4.egg
+_b = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bin
+_d = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/develop-eggs
+_e = /home/ajung/.buildout/eggs
+bin-directory = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bin
+develop-eggs-directory = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/develop-eggs
+eggs = zopyx_smartprintng_server
+ z3c.evalexception>=2.0
+ Paste
+ PasteScript
+ PasteDeploy
+eggs-directory = /home/ajung/.buildout/eggs
+executable = /opt/python-2.4.4/bin/python2.4
+interpreter = python-console
+recipe = zc.recipe.egg
+
+[i18n]
+__buildout_installed__ = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bin/i18nextract
+ /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bin/i18nmergeall
+ /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bin/i18nstats
+__buildout_signature__ = z3c.recipe.i18n-0.5.0-py2.4.egg zope.configuration-3.4.0-py2.4.egg zope.testing-3.6.0-py2.4.egg zc.recipe.egg-1.1.0b1-py2.4.egg zc.buildout-1.2.1-py2.4.egg setuptools-0.6c9-py2.4.egg ZConfig-2.5.1-py2.4.egg zope.schema-3.4.0-py2.4.egg zope.interface-3.4.1-py2.4-linux-x86_64.egg zope.i18nmessageid-3.4.3-py2.4-linux-x86_64.egg zope.deprecation-3.4.0-py2.4.egg zc.buildout-1.2.1-py2.4.egg zope.event-3.4.0-py2.4.egg
+_b = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bin
+_d = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/develop-eggs
+_e = /home/ajung/.buildout/eggs
+bin-directory = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bin
+develop-eggs-directory = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/develop-eggs
+domain = zopyx_smartprintng_server
+eggs = zopyx_smartprintng_server
+ zope.app.locales
+eggs-directory = /home/ajung/.buildout/eggs
+executable = /opt/python-2.4.4/bin/python2.4
+output = src/zopyx_smartprintng_server/locales
+packages = zopyx_smartprintng_server
+recipe = z3c.recipe.i18n:i18n
+zcml =
+
+[test]
+__buildout_installed__ = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/parts/test
+ /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bin/test
+__buildout_signature__ = zc.recipe.testrunner-1.0.0-py2.4.egg zc.recipe.egg-1.1.0b1-py2.4.egg setuptools-0.6c9-py2.4.egg zope.testing-3.6.0-py2.4.egg zc.buildout-1.2.1-py2.4.egg zc.buildout-1.2.1-py2.4.egg zope.interface-3.4.1-py2.4-linux-x86_64.egg
+_b = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bin
+_d = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/develop-eggs
+_e = /home/ajung/.buildout/eggs
+bin-directory = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bin
+defaults = ['--tests-pattern', '^f?tests$', '-v']
+develop-eggs-directory = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/develop-eggs
+eggs = zopyx_smartprintng_server
+eggs-directory = /home/ajung/.buildout/eggs
+executable = /opt/python-2.4.4/bin/python2.4
+location = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/parts/test
+recipe = zc.recipe.testrunner
+script = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bin/test
+
+[data]
+__buildout_installed__ =
+__buildout_signature__ = zc.recipe.filestorage-1.0.1-py2.4.egg setuptools-0.6c9-py2.4.egg zope.testing-3.6.0-py2.4.egg zc.buildout-1.2.1-py2.4.egg zope.interface-3.4.1-py2.4-linux-x86_64.egg
+blob-dir =
+path = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/parts/data/Data.fs
+recipe = zc.recipe.filestorage
+zconfig = <zodb>
+ %(__buildout_space__)s%(__buildout_space__)s<filestorage>
+ %(__buildout_space__)s%(__buildout_space__)s%(__buildout_space__)s%(__buildout_space__)spath /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/parts/data/Data.fs
+ %(__buildout_space__)s%(__buildout_space__)s</filestorage>
+ </zodb>%(__buildout_space_n__)s
+
+[log]
+__buildout_installed__ =
+__buildout_signature__ = zc.recipe.filestorage-1.0.1-py2.4.egg setuptools-0.6c9-py2.4.egg zope.testing-3.6.0-py2.4.egg zc.buildout-1.2.1-py2.4.egg zope.interface-3.4.1-py2.4-linux-x86_64.egg
+blob-dir =
+path = /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/parts/log/Data.fs
+recipe = zc.recipe.filestorage
+zconfig = <zodb>
+ %(__buildout_space__)s%(__buildout_space__)s<filestorage>
+ %(__buildout_space__)s%(__buildout_space__)s%(__buildout_space__)s%(__buildout_space__)spath /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/parts/log/Data.fs
+ %(__buildout_space__)s%(__buildout_space__)s</filestorage>
+ </zodb>%(__buildout_space_n__)s
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bootstrap.py
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bootstrap.py (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/bootstrap.py 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,84 @@
+##############################################################################
+#
+# Copyright (c) 2006 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Bootstrap a buildout-based project
+
+Simply run this script in a directory containing a buildout.cfg.
+The script accepts buildout command-line options, so you can
+use the -c option to specify an alternate configuration file.
+
+$Id: bootstrap.py 85041 2008-03-31 15:57:30Z andreasjung $
+"""
+
+import os, shutil, sys, tempfile, urllib2, logging
+
+def remove_old_logger_handlers():
+ # zc.buildout installs a new log stream on every call of
+ # main(). We remove any leftover handlers to avoid multiple output
+ # of same content (doubled lines etc.)
+ root_logger = logging.getLogger()
+ if 'zc.buildout' in root_logger.manager.loggerDict.keys():
+ logger = logging.getLogger('zc.buildout')
+ for handler in logger.handlers:
+ logger.removeHandler(handler)
+ return
+
+
+tmpeggs = tempfile.mkdtemp()
+
+try:
+ import pkg_resources
+except ImportError:
+ ez = {}
+ exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
+ ).read() in ez
+ ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
+
+ import pkg_resources
+
+if sys.platform == 'win32':
+ def quote(c):
+ if ' ' in c:
+ return '"%s"' % c # work around spawn lamosity on windows
+ else:
+ return c
+else:
+ def quote (c):
+ return c
+
+cmd = 'from setuptools.command.easy_install import main; main()'
+ws = pkg_resources.working_set
+assert os.spawnle(
+ os.P_WAIT, sys.executable, quote (sys.executable),
+ '-c', quote (cmd), '-mqNxd', quote (tmpeggs), 'zc.buildout',
+ dict(os.environ,
+ PYTHONPATH=
+ ws.find(pkg_resources.Requirement.parse('setuptools')).location
+ ),
+ ) == 0
+
+ws.add_entry(tmpeggs)
+ws.require('zc.buildout')
+import zc.buildout.buildout
+zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap'])
+remove_old_logger_handlers()
+shutil.rmtree(tmpeggs)
+
+# grokproject specific addition to standard bootstrap.py:
+# Install eggbasket too. This should be verbose to give the user
+# information about what is happening, since this can take a while.
+zc.buildout.buildout.main(sys.argv[1:] + ['-v', 'install', 'eggbasket'])
+if sys.platform == 'win32':
+ print "Now you can run 'bin\buildout.exe'"
+else:
+ print "Now you can run 'bin/buildout'"
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/buildout.cfg
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/buildout.cfg (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/buildout.cfg 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,44 @@
+[buildout]
+develop = .
+parts = eggbasket app i18n test data log
+newest = false
+extends = versions.cfg
+# eggs will be installed in the default buildout location
+# (see .buildout/default.cfg in your home directory)
+# unless you specify an eggs-directory option here.
+
+versions = versions
+
+[app]
+recipe = zc.recipe.egg
+eggs = zopyx_smartprintng_server
+ z3c.evalexception>=2.0
+ Paste
+ PasteScript
+ PasteDeploy
+interpreter = python-console
+
+[data]
+recipe = zc.recipe.filestorage
+
+[log]
+recipe = zc.recipe.filestorage
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = zopyx_smartprintng_server
+defaults = ['--tests-pattern', '^f?tests$', '-v']
+
+# this section named so that the i18n scripts are called bin/i18n...
+[i18n]
+recipe = z3c.recipe.i18n:i18n
+packages = zopyx_smartprintng_server
+eggs = zopyx_smartprintng_server
+domain = zopyx_smartprintng_server
+output = src/zopyx_smartprintng_server/locales
+zcml =
+
+[eggbasket]
+recipe = z3c.recipe.eggbasket
+eggs = grok
+url = http://grok.zope.org/releaseinfo/grok-eggs-1.0a3.tgz
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/develop-eggs/zopyx-smartprintng-server.egg-link
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/develop-eggs/zopyx-smartprintng-server.egg-link (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/develop-eggs/zopyx-smartprintng-server.egg-link 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,2 @@
+/home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src
+../
\ No newline at end of file
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/debug.ini
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/debug.ini (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/debug.ini 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,17 @@
+[filter-app:main]
+# Change the last part from 'ajax' to 'pdb' for a post-mortem debugger
+# on the console:
+use = egg:z3c.evalexception#ajax
+next = zope
+
+[app:zope]
+use = egg:zopyx_smartprintng_server
+
+[server:main]
+use = egg:Paste#http
+host = 127.0.0.1
+port = 8080
+
+[DEFAULT]
+# set the name of the zope.conf file
+zope_conf = %(here)s/zope.conf
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/deploy.ini
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/deploy.ini (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/deploy.ini 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,11 @@
+[app:main]
+use = egg:zopyx_smartprintng_server
+
+[server:main]
+use = egg:Paste#http
+host = 127.0.0.1
+port = 8080
+
+[DEFAULT]
+# set the name of the zope.conf file
+zope_conf = %(here)s/zope.conf
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/site.zcml
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/site.zcml (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/site.zcml 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,36 @@
+<configure xmlns="http://namespaces.zope.org/zope"
+ i18n_domain="zopyx_smartprintng_server">
+
+ <include package="zopyx_smartprintng_server" />
+
+ <configure i18n_domain="zopyx_smartprintng_server">
+
+ <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="admin"
+ password_manager="Plain Text"
+ password="123"
+ />
+
+ <!-- Replace the following directive if you do not 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>
+</configure>
\ No newline at end of file
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/zdaemon.conf
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/zdaemon.conf (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/zdaemon.conf 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,8 @@
+<runner>
+ program bin/paster serve /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/deploy.ini
+ daemon on
+ transcript /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/parts/log/zdaemon.log
+ socket-name /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/parts/log/zdaemonsock
+ # Enable this to run the child process as a different user
+ # user zope
+</runner>
\ No newline at end of file
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/zope.conf
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/zope.conf (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/zope.conf 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,39 @@
+# Identify the component configuration used to define the site:
+site-definition /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/site.zcml
+
+<zodb>
+ # Standard Filestorage
+ <filestorage>
+ path /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/parts/data/Data.fs
+ </filestorage>
+
+# Uncomment this if you want to connect to a ZEO server instead:
+# <zeoclient>
+# server localhost:8100
+# storage 1
+# # ZEO client cache, in bytes
+# cache-size 20MB
+# # Uncomment to have a persistent disk cache
+# #client zeo1
+# </zeoclient>
+</zodb>
+
+<eventlog>
+ # This sets up logging to both a file and to standard output
+ # (STDOUT). The "path" setting can be a relative or absolute
+ # filesystem path or the tokens STDOUT or STDERR.
+
+ <logfile>
+ path /home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/parts/log/z3.log
+ formatter zope.exceptions.log.Formatter
+ </logfile>
+
+ <logfile>
+ path STDOUT
+ formatter zope.exceptions.log.Formatter
+ </logfile>
+</eventlog>
+
+# Comment this line to disable developer mode. This should be done in
+# production
+devmode on
\ No newline at end of file
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/setup.py
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/setup.py (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/setup.py 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,34 @@
+from setuptools import setup, find_packages
+
+version = '0.0'
+
+setup(name='zopyx_smartprintng_server',
+ 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',
+ 'grokui.admin',
+ 'z3c.testsetup',
+ # Add extra requirements here
+ ],
+ entry_points = """
+ [console_scripts]
+ zopyx_smartprintng_server-debug = zopyx_smartprintng_server.startup:interactive_debug_prompt
+ zopyx_smartprintng_server-ctl = zopyx_smartprintng_server.startup:zdaemon_controller
+ [paste.app_factory]
+ main = zopyx_smartprintng_server.startup:application_factory
+ """,
+ )
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/__init__.py
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/__init__.py (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/__init__.py 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1 @@
+# this directory is a package
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/app.py
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/app.py (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/app.py 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,7 @@
+import grok
+
+class Zopyx_smartprintng_server(grok.Application, grok.Container):
+ pass
+
+class Index(grok.View):
+ pass # see app_templates/index.pt
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/app.txt
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/app.txt (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/app.txt 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,32 @@
+Do a functional doctest test on the app.
+========================================
+
+:Test-Layer: functional
+
+Let's first create an instance of Zopyx_smartprintng_server at the top level:
+
+ >>> from zopyx_smartprintng_server.app import Zopyx_smartprintng_server
+ >>> root = getRootFolder()
+ >>> root['app'] = Zopyx_smartprintng_server()
+
+
+Run tests in the testbrowser
+----------------------------
+
+The zope.testbrowser.browser module exposes a Browser class that
+simulates a web browser similar to Mozilla Firefox or IE. We use that
+to test how our application behaves in a browser. For more
+information, see http://pypi.python.org/pypi/zope.testbrowser.
+
+Create a browser and visit the instance you just created:
+
+ >>> from zope.testbrowser.testing import Browser
+ >>> browser = Browser()
+ >>> browser.open('http://localhost/app')
+
+Check some basic information about the page you visit:
+
+ >>> browser.url
+ 'http://localhost/app'
+ >>> browser.headers.get('Status').upper()
+ '200 OK'
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/app_templates/index.pt
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/app_templates/index.pt (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/app_templates/index.pt 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,11 @@
+<html>
+<head>
+</head>
+<body>
+ <h1>Congratulations!</h1>
+
+ <p>Your Grok application is up and running.
+ Edit <code>zopyx_smartprintng_server/app_templates/index.pt</code> to change
+ this page.</p>
+</body>
+</html>
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/configure.zcml
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/configure.zcml (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/configure.zcml 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,6 @@
+<configure xmlns="http://namespaces.zope.org/zope"
+ xmlns:grok="http://namespaces.zope.org/grok">
+ <include package="grok" />
+ <includeDependencies package="." />
+ <grok:grok package="." />
+</configure>
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/ftesting.zcml
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/ftesting.zcml (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/ftesting.zcml 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,34 @@
+<configure
+ xmlns="http://namespaces.zope.org/zope"
+ i18n_domain="zopyx_smartprintng_server"
+ package="zopyx_smartprintng_server"
+ >
+
+ <include package="zopyx_smartprintng_server" />
+
+ <!-- Typical functional testing security setup -->
+ <securityPolicy
+ component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
+ />
+
+ <unauthenticatedPrincipal
+ id="zope.anybody"
+ title="Unauthenticated User"
+ />
+ <grant
+ permission="zope.View"
+ principal="zope.anybody"
+ />
+
+ <principal
+ id="zope.mgr"
+ title="Manager"
+ login="mgr"
+ password="mgrpw"
+ />
+
+ <role id="zope.Manager" title="Site Manager" />
+ <grantAll role="zope.Manager" />
+ <grant role="zope.Manager" principal="zope.mgr" />
+
+</configure>
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/startup.py
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/startup.py (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/startup.py 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,35 @@
+import os
+import sys
+import code
+import zdaemon.zdctl
+import zope.app.wsgi
+import zope.app.debug
+
+def application_factory(global_conf):
+ zope_conf = os.path.join(global_conf['zope_conf'])
+ return zope.app.wsgi.getWSGIApplication(zope_conf)
+
+def interactive_debug_prompt(zope_conf='/home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/zope.conf'):
+ db = zope.app.wsgi.config(zope_conf)
+ debugger = zope.app.debug.Debugger.fromDatabase(db)
+ # Invoke an interactive interpreter shell
+ banner = ("Welcome to the interactive debug prompt.\n"
+ "The 'root' variable contains the ZODB root folder.\n"
+ "The 'app' variable contains the Debugger, 'app.publish(path)' "
+ "simulates a request.")
+ code.interact(banner=banner, local={'debugger': debugger,
+ 'app': debugger,
+ 'root': debugger.root()})
+
+class ControllerCommands(zdaemon.zdctl.ZDCmd):
+
+ def do_debug(self, rest):
+ interactive_debug_prompt()
+
+ def help_debug(self):
+ print "debug -- Initialize the application, providing a debugger"
+ print " object at an interactive Python prompt."
+
+def zdaemon_controller(zdaemon_conf='/home/develop/repository/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/etc/zdaemon.conf'):
+ args = ['-C', zdaemon_conf] + sys.argv[1:]
+ zdaemon.zdctl.main(args, options=None, cmdclass=ControllerCommands)
\ No newline at end of file
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/static/README.txt
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/static/README.txt (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/static/README.txt 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,2 @@
+Put static files here, like javascript and css. They will be
+available as static/<filename> in views.
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/tests.py
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/tests.py (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server/tests.py 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,12 @@
+import os.path
+import z3c.testsetup
+import zopyx_smartprintng_server
+from zope.app.testing.functional import ZCMLLayer
+
+
+ftesting_zcml = os.path.join(
+ os.path.dirname(zopyx_smartprintng_server.__file__), 'ftesting.zcml')
+FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer',
+ allow_teardown=True)
+
+test_suite = z3c.testsetup.register_all_tests('zopyx_smartprintng_server')
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/PKG-INFO
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/PKG-INFO (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/PKG-INFO 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,10 @@
+Metadata-Version: 1.0
+Name: zopyx-smartprintng-server
+Version: 0.0
+Summary: UNKNOWN
+Home-page: UNKNOWN
+Author: UNKNOWN
+Author-email: UNKNOWN
+License: UNKNOWN
+Description: UNKNOWN
+Platform: UNKNOWN
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/SOURCES.txt
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/SOURCES.txt (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/SOURCES.txt 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,12 @@
+setup.py
+src/zopyx_smartprintng_server/__init__.py
+src/zopyx_smartprintng_server/app.py
+src/zopyx_smartprintng_server/startup.py
+src/zopyx_smartprintng_server/tests.py
+src/zopyx_smartprintng_server.egg-info/PKG-INFO
+src/zopyx_smartprintng_server.egg-info/SOURCES.txt
+src/zopyx_smartprintng_server.egg-info/dependency_links.txt
+src/zopyx_smartprintng_server.egg-info/entry_points.txt
+src/zopyx_smartprintng_server.egg-info/not-zip-safe
+src/zopyx_smartprintng_server.egg-info/requires.txt
+src/zopyx_smartprintng_server.egg-info/top_level.txt
\ No newline at end of file
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/dependency_links.txt
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/dependency_links.txt (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/dependency_links.txt 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1 @@
+
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/entry_points.txt
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/entry_points.txt (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/entry_points.txt 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,7 @@
+
+ [console_scripts]
+ zopyx_smartprintng_server-debug = zopyx_smartprintng_server.startup:interactive_debug_prompt
+ zopyx_smartprintng_server-ctl = zopyx_smartprintng_server.startup:zdaemon_controller
+ [paste.app_factory]
+ main = zopyx_smartprintng_server.startup:application_factory
+
\ No newline at end of file
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/not-zip-safe
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/not-zip-safe (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/not-zip-safe 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1 @@
+
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/requires.txt
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/requires.txt (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/requires.txt 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,4 @@
+setuptools
+grok
+grokui.admin
+z3c.testsetup
\ No newline at end of file
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/top_level.txt
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/top_level.txt (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/src/zopyx_smartprintng_server.egg-info/top_level.txt 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1 @@
+zopyx_smartprintng_server
Added: zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/versions.cfg
===================================================================
--- zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/versions.cfg (rev 0)
+++ zopyx.smartprintng.server/buildout/trunk/zopyx_smartprintng_server/versions.cfg 2009-05-16 14:46:49 UTC (rev 100018)
@@ -0,0 +1,129 @@
+# This file contains a list of versions of the various grok modules that
+# belong together.
+# It was downloaded from http://grok.zope.org/releaseinfo/grok-1.0a3.cfg
+# when this project was created.
+
+[versions]
+grok = 1.0a3
+ClientForm = 0.2.9
+docutils = 0.4
+grokcore.component = 1.6
+grokcore.formlib = 1.1
+grokcore.security = 1.0
+grokcore.view = 1.5
+grokcore.viewlet = 1.0
+grokui.admin = 0.3.2
+martian = 0.11
+mechanize = 0.1.7b
+Pygments = 0.8.1
+pytz = 2007k
+RestrictedPython = 3.4.2
+simplejson = 1.7.1
+z3c.autoinclude = 0.2.2
+z3c.flashmessage = 1.0
+z3c.testsetup = 0.2.1
+zc.catalog = 1.2.0
+ZConfig = 2.5.1
+zc.recipe.testrunner = 1.0.0
+zdaemon = 2.0.2
+ZODB3 = 3.8.1
+zodbcode = 3.4.0
+zope.annotation = 3.4.1
+zope.app.apidoc = 3.4.3
+zope.app.applicationcontrol = 3.4.3
+zope.app.appsetup = 3.4.1
+zope.app.authentication = 3.4.4
+zope.app.basicskin = 3.4.0
+zope.app.broken = 3.4.0
+zope.app.catalog = 3.5.1
+zope.app.component = 3.4.1
+zope.app.container = 3.5.6
+zope.app.content = 3.4.0
+zope.app.debug = 3.4.1
+zope.app.dependable = 3.4.0
+zope.app.error = 3.5.1
+zope.app.exception = 3.4.1
+zope.app.file = 3.4.4
+zope.app.folder = 3.4.0
+zope.app.form = 3.4.1
+zope.app.generations = 3.4.1
+zope.app.http = 3.4.1
+zope.app.i18n = 3.4.4
+zope.app.interface = 3.4.0
+zope.app.intid = 3.4.1
+zope.app.keyreference = 3.4.1
+zope.app.locales = 3.4.5
+zope.app.onlinehelp = 3.4.1
+zope.app.pagetemplate = 3.4.1
+zope.app.preference = 3.4.1
+zope.app.principalannotation = 3.4.0
+zope.app.publication = 3.4.3
+zope.app.publisher = 3.5.1
+zope.app.renderer = 3.4.0
+zope.app.rotterdam = 3.4.1
+zope.app.schema = 3.4.0
+zope.app.security = 3.5.2
+zope.app.securitypolicy = 3.4.6
+zope.app.server = 3.4.2
+zope.app.session = 3.5.1
+zope.app.skins = 3.4.0
+zope.app.testing = 3.4.3
+zope.app.tree = 3.4.0
+zope.app.twisted = 3.4.1
+zope.app.wsgi = 3.4.1
+zope.app.zapi = 3.4.0
+zope.app.zcmlfiles = 3.4.3
+zope.app.zopeappgenerations = 3.4.0
+zope.cachedescriptors = 3.4.1
+zope.component = 3.4.0
+zope.configuration = 3.4.0
+zope.contentprovider = 3.4.0
+zope.contenttype = 3.4.0
+zope.copypastemove = 3.4.0
+zope.datetime = 3.4.0
+zope.deferredimport = 3.4.0
+zope.deprecation = 3.4.0
+zope.dottedname = 3.4.2
+zope.dublincore = 3.4.0
+zope.error = 3.5.1
+zope.event = 3.4.0
+zope.exceptions = 3.4.0
+zope.filerepresentation = 3.4.0
+zope.formlib = 3.4.0
+zope.hookable = 3.4.0
+zope.i18n = 3.4.0
+zope.i18nmessageid = 3.4.3
+zope.index = 3.4.1
+zope.interface = 3.4.1
+zope.lifecycleevent = 3.4.0
+zope.location = 3.4.0
+zope.minmax = 1.1.0
+zope.modulealias = 3.4.0
+zope.pagetemplate = 3.4.0
+zope.proxy = 3.4.2
+zope.publisher = 3.4.6
+zope.schema = 3.4.0
+zope.security = 3.4.1
+zope.securitypolicy = 3.4.1
+zope.server = 3.4.3
+zope.session = 3.4.1
+zope.size = 3.4.0
+zope.structuredtext = 3.4.0
+zope.tal = 3.4.1
+zope.tales = 3.4.0
+zope.testbrowser = 3.4.2
+zope.testing = 3.6.0
+zope.thread = 3.4
+zope.traversing = 3.4.1
+zope.viewlet = 3.4.2
+
+
+# Here we pin the recipes used in the buildout.cfg
+z3c.recipe.i18n = 0.5.0
+z3c.recipe.eggbasket = 0.4.0
+zc.buildout = 1.0.6
+zc.recipe.egg = 1.1.0b1
+zc.recipe.filestorage = 1.0.1
+zc.recipe.testrunner = 1.0.0
+zc.zodbrecipes = 0.4.0
+zc.zope3recipes = 0.7.0
More information about the Checkins
mailing list