[Checkins] SVN: Sandbox/malthe/chameleon.zpt/ Add test dependencies, so tests can work with that buildout.

Sylvain Viollon sylvain at infrae.com
Thu Oct 30 13:57:05 EDT 2008


Log message for revision 92718:
  Add test dependencies, so tests can work with that buildout.
  
  

Changed:
  U   Sandbox/malthe/chameleon.zpt/buildout.cfg
  U   Sandbox/malthe/chameleon.zpt/setup.py

-=-
Modified: Sandbox/malthe/chameleon.zpt/buildout.cfg
===================================================================
--- Sandbox/malthe/chameleon.zpt/buildout.cfg	2008-10-30 17:32:24 UTC (rev 92717)
+++ Sandbox/malthe/chameleon.zpt/buildout.cfg	2008-10-30 17:57:04 UTC (rev 92718)
@@ -7,8 +7,8 @@
 environment = test-environment
 eggs =
    chameleon.core [lxml]
-   chameleon.zpt
+   chameleon.zpt [test]
 
 [test-environment]
 CHAMELEON_DEBUG = False
-CHAMELEON_CACHE = False
\ No newline at end of file
+CHAMELEON_CACHE = False

Modified: Sandbox/malthe/chameleon.zpt/setup.py
===================================================================
--- Sandbox/malthe/chameleon.zpt/setup.py	2008-10-30 17:32:24 UTC (rev 92717)
+++ Sandbox/malthe/chameleon.zpt/setup.py	2008-10-30 17:57:04 UTC (rev 92718)
@@ -10,6 +10,10 @@
     'zope.i18n >= 3.5',
     'chameleon.core >=1.0b4',
     ]
+test_requires = install_requires + [
+    'zope.configuration',
+    'zope.security'
+    ]
 
 setup(name='chameleon.zpt',
       version=version,
@@ -32,4 +36,5 @@
       include_package_data=True,
       zip_safe=False,
       install_requires=install_requires,
+      extras_require = {'test': test_requires},
       )



More information about the Checkins mailing list