[Checkins] SVN: Sandbox/darrylcousins/mars.resource/ Updates to get
this old code working again
Darryl Cousins
darryl at darrylcousins.net.nz
Sat Feb 9 21:24:12 EST 2008
Log message for revision 83691:
Updates to get this old code working again
Changed:
U Sandbox/darrylcousins/mars.resource/buildout.cfg
U Sandbox/darrylcousins/mars.resource/setup.py
U Sandbox/darrylcousins/mars.resource/src/mars/resource/ftests/ftesting.zcml
-=-
Modified: Sandbox/darrylcousins/mars.resource/buildout.cfg
===================================================================
--- Sandbox/darrylcousins/mars.resource/buildout.cfg 2008-02-10 02:23:40 UTC (rev 83690)
+++ Sandbox/darrylcousins/mars.resource/buildout.cfg 2008-02-10 02:24:12 UTC (rev 83691)
@@ -1,11 +1,12 @@
[buildout]
develop = .
parts = test
-extends = http://grok.zope.org/releaseinfo/grok-0.11.1.cfg
+extends = http://download.zope.org/zope3.4/versions-3.4.0c1.cfg
versions = versions
[versions]
-martian = 0.9.2
+grok = 0.12dev
+martian = 0.9.3
[test]
recipe = zc.recipe.testrunner
Modified: Sandbox/darrylcousins/mars.resource/setup.py
===================================================================
--- Sandbox/darrylcousins/mars.resource/setup.py 2008-02-10 02:23:40 UTC (rev 83690)
+++ Sandbox/darrylcousins/mars.resource/setup.py 2008-02-10 02:24:12 UTC (rev 83691)
@@ -14,14 +14,20 @@
This package uses ``martian`` and ``grok`` to register resources and resource
directories for applications built on the ``zope`` framework.""",
long_description=(
- read('src/mars/resource/README.txt') +
+ read('mars/resource/README.txt') +
read('CHANGES.txt')),
- packages=find_packages('src'),
- package_dir = {'': 'src'},
- include_package_data = True,
- zip_safe=False,
+ classifiers = ['Development Status :: 1 - Planning',
+ 'Intended Audience :: Developers',
+ 'License :: Other/Proprietary License',
+ 'Programming Language :: Python',
+ 'Operating System :: OS Independent',
+ 'Topic :: Software Development :: Build Tools',
+ 'Framework :: Zope3',
+ ],
+ packages=find_packages(),
+ namespace_packages=['mars'],
+ zip_safe=True,
license='ZPL',
- dependency_links = ['http://download.zope.org/distribution'],
extras_require = dict(
test=['zope.app.testing',
'zope.testbrowser',
Modified: Sandbox/darrylcousins/mars.resource/src/mars/resource/ftests/ftesting.zcml
===================================================================
--- Sandbox/darrylcousins/mars.resource/src/mars/resource/ftests/ftesting.zcml 2008-02-10 02:23:40 UTC (rev 83690)
+++ Sandbox/darrylcousins/mars.resource/src/mars/resource/ftests/ftesting.zcml 2008-02-10 02:24:12 UTC (rev 83691)
@@ -3,12 +3,34 @@
i18n_domain="zope"
package="mars.resource.ftests">
- <include package="grok" file="meta.zcml" />
+ <include package="grok" />
<include package="mars.resource" file="meta.zcml" />
-
- <include package="grok" />
<grok:grok package="mars.resource.ftests" />
+
+ <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>
More information about the Checkins
mailing list