Skip to content

Commit

Permalink
Moved the plone.app.testing and unittest2 dependencies to a test extra.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritsvanrees committed Dec 9, 2011
1 parent e8cb52d commit 8a437b6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGES.txt
Expand Up @@ -6,6 +6,10 @@ Changelog
webcouturier.dropdownmenu 2.3 unreleased
-----------------------------------------------

- Moved the plone.app.testing and unittest2 dependencies to a test
extra.
[Maurits]

- Only load the CMF permissions when on Plone 4.1 or higher.
[maurits]

Expand Down
7 changes: 4 additions & 3 deletions buildout.cfg
@@ -1,7 +1,7 @@
[buildout]
extends = http://svn.plone.org/svn/collective/buildout/plonetest/test-4.1.x.cfg
package-name = webcouturier.dropdownmenu

test-eggs = webcouturier.dropdownmenu[test]
parts+=omelette

[omelette]
Expand All @@ -10,7 +10,8 @@ eggs=${instance:eggs}

[test]
recipe = collective.xmltestreport
defaults = ['-v', '-s', '${buildout:package-name}']
eggs =
webcouturier.dropdownmenu
${buildout:package-name}
${instance:eggs}

${buildout:test-eggs}
7 changes: 4 additions & 3 deletions buildout3.cfg
@@ -1,7 +1,7 @@
[buildout]
extends = http://svn.plone.org/svn/collective/buildout/plonetest/test-3.x.cfg
package-name = webcouturier.dropdownmenu

test-eggs = webcouturier.dropdownmenu[test]
parts+=omelette
versions = versions

Expand All @@ -18,7 +18,8 @@ eggs=${instance:eggs}

[test]
recipe = collective.xmltestreport
defaults = ['-v', '-s', '${buildout:package-name}']
eggs =
webcouturier.dropdownmenu
${buildout:package-name}
${instance:eggs}

${buildout:test-eggs}
7 changes: 5 additions & 2 deletions setup.py
Expand Up @@ -26,10 +26,13 @@
zip_safe=False,
install_requires=[
'setuptools',
'plone.app.testing',
'unittest2',
'plone.browserlayer',
],
extras_require={
'test': ['plone.app.testing',
'unittest2',
],
},
entry_points="""
[z3c.autoinclude.plugin]
target = plone
Expand Down

0 comments on commit 8a437b6

Please sign in to comment.