Skip to content

Commit

Permalink
Add test extra, remove versions from buildout.cfg.
Browse files Browse the repository at this point in the history
  • Loading branch information
menesis committed Feb 15, 2012
1 parent 13c76e9 commit b3b250e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 24 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Changelog

- Only require Chameleon >= 2.4, was needlessly bumped in last release.

- Add test extra, remove versions from buildout.cfg.


2.2 (2012-01-08)
~~~~~~~~~~~~~~~~
Expand Down
25 changes: 1 addition & 24 deletions buildout.cfg
Original file line number Diff line number Diff line change
@@ -1,34 +1,11 @@
[buildout]
develop = .
eggs = z3c.pt chameleon
parts = test py
versions = versions

[versions]
zope.component = 3.7.1
zope.configuration = 3.6.0
zope.deferredimport = 3.5.3
zope.deprecation = 3.4.0
zope.dottedname = 3.4.5
zope.event = 3.4.0
zope.exceptions = 3.5.2
zope.hookable = 3.4.0
zope.i18n = 3.7.4
zope.i18nmessageid = 3.5.3
zope.interface = 3.5.0
zope.location = 3.5.2
zope.proxy = 3.5.0
zope.publisher = 3.7.0
zope.schema = 3.5.1
zope.security = 3.6.0
zope.traversing = 3.7.1
zope.testing = 3.7.1
zc.recipe.testrunner = 1.1.0

[test]
recipe = zc.recipe.testrunner
eggs =
z3c.pt
z3c.pt [test]

[py]
recipe = zc.recipe.egg
Expand Down
8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
'Chameleon >= 2.4',
]

tests_require = [
'zope.testing',
]

setup(name='z3c.pt',
version=version,
description="Fast ZPT engine.",
Expand All @@ -32,4 +36,8 @@
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require=dict(
test=tests_require,
),
tests_require=tests_require,
)

0 comments on commit b3b250e

Please sign in to comment.