[Checkins] SVN: Sandbox/darrylcousins/tfws.website/ Changed this
folder to be simple buildout and using all packages as is
from within it. Did what was needed to get tests passing
Darryl Cousins
darryl at darrylcousins.net.nz
Sun Feb 10 00:29:35 EST 2008
Log message for revision 83729:
Changed this folder to be simple buildout and using all packages as is from within it. Did what was needed to get tests passing
Changed:
U Sandbox/darrylcousins/tfws.website/buildout.cfg
U Sandbox/darrylcousins/tfws.website/mars.contentprovider/mars/contentprovider/tests.py
U Sandbox/darrylcousins/tfws.website/mars.form/mars/form/tests.py
U Sandbox/darrylcousins/tfws.website/mars.macro/mars/macro/tests.py
U Sandbox/darrylcousins/tfws.website/mars.resource/mars/resource/tests.py
A Sandbox/darrylcousins/tfws.website/setup.py
-=-
Modified: Sandbox/darrylcousins/tfws.website/buildout.cfg
===================================================================
--- Sandbox/darrylcousins/tfws.website/buildout.cfg 2008-02-10 04:40:31 UTC (rev 83728)
+++ Sandbox/darrylcousins/tfws.website/buildout.cfg 2008-02-10 05:29:35 UTC (rev 83729)
@@ -1,5 +1,6 @@
[buildout]
-develop = .
+develop =
+ tfws.website
grok
z3c.authentication
z3c.resource
Modified: Sandbox/darrylcousins/tfws.website/mars.contentprovider/mars/contentprovider/tests.py
===================================================================
--- Sandbox/darrylcousins/tfws.website/mars.contentprovider/mars/contentprovider/tests.py 2008-02-10 04:40:31 UTC (rev 83728)
+++ Sandbox/darrylcousins/tfws.website/mars.contentprovider/mars/contentprovider/tests.py 2008-02-10 05:29:35 UTC (rev 83729)
@@ -22,6 +22,7 @@
def setUp(test):
from zope.app.pagetemplate import metaconfigure
from zope.contentprovider import tales
+ metaconfigure.clear()
metaconfigure.registerType('provider', tales.TALESProviderExpression)
def test_suite():
Modified: Sandbox/darrylcousins/tfws.website/mars.form/mars/form/tests.py
===================================================================
--- Sandbox/darrylcousins/tfws.website/mars.form/mars/form/tests.py 2008-02-10 04:40:31 UTC (rev 83728)
+++ Sandbox/darrylcousins/tfws.website/mars.form/mars/form/tests.py 2008-02-10 05:29:35 UTC (rev 83729)
@@ -29,6 +29,7 @@
# register provider TALES
from zope.app.pagetemplate import metaconfigure
from zope.contentprovider import tales
+ metaconfigure.clear()
metaconfigure.registerType('provider', tales.TALESProviderExpression)
def widgetSetUp(test):
Modified: Sandbox/darrylcousins/tfws.website/mars.macro/mars/macro/tests.py
===================================================================
--- Sandbox/darrylcousins/tfws.website/mars.macro/mars/macro/tests.py 2008-02-10 04:40:31 UTC (rev 83728)
+++ Sandbox/darrylcousins/tfws.website/mars.macro/mars/macro/tests.py 2008-02-10 05:29:35 UTC (rev 83729)
@@ -23,12 +23,13 @@
# register macro TALES
from zope.app.pagetemplate import metaconfigure
from z3c.macro import tales
+ metaconfigure.clear()
metaconfigure.registerType('macro', tales.MacroExpression)
# register provider TALES
from zope.app.pagetemplate import metaconfigure
from zope.contentprovider import tales
- #metaconfigure.registerType('provider', tales.TALESProviderExpression)
+ metaconfigure.registerType('provider', tales.TALESProviderExpression)
def test_suite():
suite = unittest.TestSuite()
Modified: Sandbox/darrylcousins/tfws.website/mars.resource/mars/resource/tests.py
===================================================================
--- Sandbox/darrylcousins/tfws.website/mars.resource/mars/resource/tests.py 2008-02-10 04:40:31 UTC (rev 83728)
+++ Sandbox/darrylcousins/tfws.website/mars.resource/mars/resource/tests.py 2008-02-10 05:29:35 UTC (rev 83729)
@@ -16,14 +16,18 @@
return default
globs = dict(module_info=ModuleInfo(),
- root=setup.placefulSetUp(True),
config=ConfigurationMachine())
optionflags = doctest.NORMALIZE_WHITESPACE + doctest.ELLIPSIS
+def tearDown(test):
+ setup.placefulTearDown()
+
def test_suite():
suite = unittest.TestSuite()
suite.addTests([doctest.DocFileSuite('./resource.txt',
+ setUp=setup.placefulSetUp,
+ tearDown=tearDown,
globs=globs,
optionflags=optionflags),
])
Added: Sandbox/darrylcousins/tfws.website/setup.py
===================================================================
--- Sandbox/darrylcousins/tfws.website/setup.py (rev 0)
+++ Sandbox/darrylcousins/tfws.website/setup.py 2008-02-10 05:29:35 UTC (rev 83729)
@@ -0,0 +1,32 @@
+from setuptools import setup, find_packages
+
+setup(name='vortex',
+ version='0.1dev',
+ keywords="",
+ author="",
+ author_email="darryl.cousins at tfws.org.nz",
+ url="",
+ description='development tfws.website buildout.',
+ long_description=open('README.txt').read(),
+ license='ZPL',
+ classifiers = ['Development Status :: 1 - Planning',
+ 'Intended Audience :: Developers',
+ 'License :: Other/Proprietary License',
+ 'Programming Language :: Python',
+ 'Operating System :: OS Independent',
+ 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
+ 'Environment :: Web Environment',
+ 'Framework :: Zope3',
+ ],
+ packages=find_packages('src'),
+ package_dir = {'': 'src'},
+ include_package_data=True,
+ zip_safe=False,
+ install_requires=['setuptools',
+ 'zc.buildout',
+ 'lovely.recipe',
+ 'z3c.coverage',
+ ],
+ entry_points = """
+ """
+ )
Property changes on: Sandbox/darrylcousins/tfws.website/setup.py
___________________________________________________________________
Name: svn:keywords
+ Id
More information about the Checkins
mailing list