Skip to content

Commit

Permalink
Cope with coverage being incompatible with Python3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
amol- committed Oct 1, 2015
1 parent af4d7a8 commit efad101
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ services:
- mongodb

install:
- "pip install coverage"
- "pip install nose"
- "pip install coveralls"
- "pip install git+https://github.com/toscawidgets/tw2.core.git@develop#egg=tw2.core"
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@
py_version = sys.version_info[:2]

DEPENDENCIES = ['formencode>=1.3.0a1']
TESTS_DEPENDENCIES = ['sqlalchemy', 'sieve']

if py_version == (3, 2):
DEPENDENCIES += ['markupsafe<0.16']
TESTS_DEPENDENCIES.append('coverage < 4.0')
else:
DEPENDENCIES += ['markupsafe']
TESTS_DEPENDENCIES.append('coverage')


TESTS_DEPENDENCIES = ['sqlalchemy', 'sieve']
TEST_SUITE_DEPENDENCIES = TESTS_DEPENDENCIES + ['tw2.forms', 'genshi', 'mako']
MONGODB_TEST_SUITE_DEPENDENCIES = TEST_SUITE_DEPENDENCIES + ['ming']

Expand Down

0 comments on commit efad101

Please sign in to comment.