Commit 321e5a44 authored by Tres Seaver's avatar Tres Seaver

Ensure we test the PyPy support.

parent 44912238
...@@ -2,6 +2,7 @@ language: python ...@@ -2,6 +2,7 @@ language: python
env: env:
- TOXENV=py26 - TOXENV=py26
- TOXENV=py27 - TOXENV=py27
- TOXENV=pypy
- TOXENV=py33 - TOXENV=py33
install: install:
- pip install tox - pip install tox
......
...@@ -57,6 +57,30 @@ else: ...@@ -57,6 +57,30 @@ else:
], include_dirs=['include']), ], include_dirs=['include']),
] ]
install_requires = [
'setuptools',
'six',
'zope.interface',
'zope.dottedname',
'zope.schema',
'zope.component',
'zope.event',
'zope.location>=3.5.4',
'zope.security',
'zope.lifecycleevent>=3.5.2',
'zope.i18nmessageid',
'zope.filerepresentation',
'zope.size',
'zope.traversing>=4.0.0a1',
'zope.publisher',
'BTrees'
]
if not is_pypy:
install_requires.append('persistent')
else:
install_requires.append('persistent>=4.0.7')
setup(name='zope.container', setup(name='zope.container',
version='4.0.0a4.dev0', version='4.0.0a4.dev0',
author='Zope Foundation and Contributors', author='Zope Foundation and Contributors',
...@@ -106,24 +130,7 @@ setup(name='zope.container', ...@@ -106,24 +130,7 @@ setup(name='zope.container',
], ],
zodb=['ZODB>=3.10', zodb=['ZODB>=3.10',
]), ]),
install_requires=['setuptools', install_requires=install_requires,
'six',
'zope.interface',
'zope.dottedname',
'zope.schema',
'zope.component',
'zope.event',
'zope.location>=3.5.4',
'zope.security',
'zope.lifecycleevent>=3.5.2',
'zope.i18nmessageid',
'zope.filerepresentation',
'zope.size',
'zope.traversing>=4.0.0a1',
'zope.publisher',
'persistent',
'BTrees'
],
tests_require = [ tests_require = [
'zope.testing', 'zope.testing',
'zope.testrunner'], 'zope.testrunner'],
......
[tox] [tox]
envlist = py26,py27,py33 envlist = py26,py27,pypy,py33
[testenv] [testenv]
commands = python setup.py test -q commands = python setup.py test -q
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment