[Checkins] SVN: z3c.recipe.compattest/trunk/ choose a less confusing name
Wolfgang Schnerring
wosc at wosc.de
Wed Jan 28 06:21:12 EST 2009
Log message for revision 95292:
choose a less confusing name
Changed:
U z3c.recipe.compattest/trunk/buildout.cfg
U z3c.recipe.compattest/trunk/setup.py
U z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/README.txt
U z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/recipe.py
U z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/testing.py
U z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/tests/test_doctests.py
-=-
Modified: z3c.recipe.compattest/trunk/buildout.cfg
===================================================================
--- z3c.recipe.compattest/trunk/buildout.cfg 2009-01-28 11:18:09 UTC (rev 95291)
+++ z3c.recipe.compattest/trunk/buildout.cfg 2009-01-28 11:21:12 UTC (rev 95292)
@@ -1,13 +1,13 @@
[buildout]
develop = .
-parts = test kgstest
+parts = test compattest
[test]
recipe = zc.recipe.testrunner
-eggs = z3c.recipe.kgstest[test]
+eggs = z3c.recipe.compattest[test]
# for debugging
-[kgstest]
-recipe = z3c.recipe.kgstest
+[compattest]
+recipe = z3c.recipe.compattest
exclude = .*
-include = z3c.recipe.kgstest
\ No newline at end of file
+include = z3c.recipe.compattest
\ No newline at end of file
Modified: z3c.recipe.compattest/trunk/setup.py
===================================================================
--- z3c.recipe.compattest/trunk/setup.py 2009-01-28 11:18:09 UTC (rev 95291)
+++ z3c.recipe.compattest/trunk/setup.py 2009-01-28 11:21:12 UTC (rev 95292)
@@ -1,13 +1,13 @@
from setuptools import setup, find_packages
-setup(name='z3c.recipe.kgstest',
+setup(name='z3c.recipe.compattest',
version = '1.0dev',
author='Grok Contributors',
author_email='grok-dev at zope.org',
description='Tool to create test environement for KGS.',
long_description=open(
- os.path.join('src', 'z3c', 'recipe', 'kgstest', 'README.txt')).read(),
+ os.path.join('src', 'z3c', 'recipe', 'compattest', 'README.txt')).read(),
keywords = "zope3 setuptools egg kgs",
classifiers = [
'Intended Audience :: Developers',
@@ -29,7 +29,7 @@
'zope.dottedname',
]),
entry_points = {
- 'zc.buildout': ['default = z3c.recipe.kgstest.recipe:Recipe'],
+ 'zc.buildout': ['default = z3c.recipe.compattest.recipe:Recipe'],
},
include_package_data = True,
zip_safe = True,
Modified: z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/README.txt
===================================================================
--- z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/README.txt 2009-01-28 11:18:09 UTC (rev 95291)
+++ z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/README.txt 2009-01-28 11:21:12 UTC (rev 95292)
@@ -1,26 +1,26 @@
-==================
-z3c.recipe.kgstest
-==================
+=====================
+z3c.recipe.compattest
+=====================
>>> cd(sample_buildout)
>>> write('buildout.cfg', """
... [buildout]
-... parts = kgstest
+... parts = compattest
...
-... [kgstest]
-... recipe = z3c.recipe.kgstest
-... include = z3c.recipe.kgstest
+... [compattest]
+... recipe = z3c.recipe.compattest
+... include = z3c.recipe.compattest
... """)
->>> system(buildout).find('Installing kgstest') != -1
+>>> system(buildout).find('Installing compattest') != -1
True
>>> ls('bin')
- buildout
-- kgstest-z3c.recipe.kgstest
+- compattest-z3c.recipe.compattest
- test-kgs
->>> cat('bin', 'kgstest-z3c.recipe.kgstest')
+>>> cat('bin', 'compattest-z3c.recipe.compattest')
#!/...python...
...zope.dottedname...
>>> cat('bin', 'test-kgs')
#!/...python...
-...main(...kgstest-z3c.recipe.kgstest...
+...main(...compattest-z3c.recipe.compattest...
Modified: z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/recipe.py
===================================================================
--- z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/recipe.py 2009-01-28 11:18:09 UTC (rev 95291)
+++ z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/recipe.py 2009-01-28 11:21:12 UTC (rev 95292)
@@ -63,7 +63,7 @@
def _install_run_script(self):
eggs = zc.recipe.egg.Egg(
- self.buildout, self.name, dict(eggs='z3c.recipe.kgstest'))
+ self.buildout, self.name, dict(eggs='z3c.recipe.compattest'))
_, ws = eggs.working_set()
bindir = self.buildout['buildout']['bin-directory']
@@ -72,7 +72,7 @@
runners = [repr(os.path.join(bindir, runner)) for runner in runners]
return zc.buildout.easy_install.scripts(
- [(self.script, 'z3c.recipe.kgstest.runner', 'main')],
+ [(self.script, 'z3c.recipe.compattest.runner', 'main')],
ws, self.buildout['buildout']['executable'],
bindir, arguments = '%s' % ', '.join(runners))
Modified: z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/testing.py
===================================================================
--- z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/testing.py 2009-01-28 11:18:09 UTC (rev 95291)
+++ z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/testing.py 2009-01-28 11:21:12 UTC (rev 95292)
@@ -6,7 +6,7 @@
def DocFileSuite(*args, **kw):
def setUp(test):
zc.buildout.testing.buildoutSetUp(test)
- zc.buildout.testing.install_develop('z3c.recipe.kgstest', test)
+ zc.buildout.testing.install_develop('z3c.recipe.compattest', test)
# need to explicitly name our dependencies for the buildout test
# environment
Modified: z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/tests/test_doctests.py
===================================================================
--- z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/tests/test_doctests.py 2009-01-28 11:18:09 UTC (rev 95291)
+++ z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/tests/test_doctests.py 2009-01-28 11:21:12 UTC (rev 95292)
@@ -1,5 +1,5 @@
-import z3c.recipe.kgstest.testing
+import z3c.recipe.compattest.testing
def test_suite():
- return z3c.recipe.kgstest.testing.DocFileSuite('README.txt')
+ return z3c.recipe.compattest.testing.DocFileSuite('README.txt')
More information about the Checkins
mailing list