Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
Fix wheel contextlib2 bug: doesn't install contextlib2 correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwoods committed Sep 22, 2017
1 parent 3345043 commit 61ebca4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion raven/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

__all__ = ('VERSION', 'Client', 'get_version')

VERSION = '6.2.0'
VERSION = '6.2.1'


def _get_git_revision(path):
Expand Down
13 changes: 7 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
f.read().decode('utf-8')).group(1)))


install_requires = [
'contextlib2',
]

#install_requires = [
# 'contextlib2',
#]
install_requires = []
unittest2_requires = ['unittest2']

flask_requires = [
Expand All @@ -60,8 +60,8 @@
webpy_tests_requires = []

# If it's python3.2 or greater, don't use contextlib backport
if sys.version_info[1] >= 2:
install_requires.remove('contextlib2')
# if sys.version_info[1] >= 2:
# install_requires.remove('contextlib2')

tests_require = [
'bottle',
Expand Down Expand Up @@ -124,6 +124,7 @@ def run_tests(self):
extras_require={
'flask': flask_requires,
'tests': tests_require,
':python_version<"3.2"': ['contextlib2'],
},
license='BSD',
tests_require=tests_require,
Expand Down

0 comments on commit 61ebca4

Please sign in to comment.