Skip to content

Commit

Permalink
splitted regular and test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
reinout committed Dec 9, 2009
1 parent 0779a44 commit ec7aca1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Changes
- Use zope.container instead of zope.app.container (in tests and in the
configure.zcml).

- Fixed up missing dependencies.
- Fixed up missing dependencies and splitted regular and test dependencies.


1.4 (2009-09-17)
Expand Down
1 change: 1 addition & 0 deletions buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ interpreter = python
[test]
recipe = zc.recipe.testrunner
eggs = grokcore.formlib
grokcore.formlib[test]
defaults = ['--tests-pattern', '^f?tests$', '-v']
20 changes: 12 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ def read(*rnames):
read('CHANGES.txt')
)

tests_require = [
'zope.app.testing',
'zope.app.zcmlfiles',
'zope.component',
'zope.configuration',
'zope.securitypolicy',
'zope.testbrowser',
'zope.testing',
]

setup(
name='grokcore.formlib',
version = '1.5dev',
Expand Down Expand Up @@ -45,13 +55,7 @@ def read(*rnames):
'zope.lifecycleevent',
'zope.publisher',
'zope.schema',
# for tests:
'zope.app.testing',
'zope.app.zcmlfiles',
'zope.component',
'zope.configuration',
'zope.securitypolicy',
'zope.testbrowser',
'zope.testing',
],
tests_require=tests_require,
extras_require={'test': tests_require},
)

0 comments on commit ec7aca1

Please sign in to comment.