We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6d1f06 commit a332da0Copy full SHA for a332da0
setup.py
@@ -1,8 +1,7 @@
1
-import sys
2
-
3
from setuptools import setup, find_packages
4
from os import path
5
from aws_xray_sdk.version import VERSION
+from aws_xray_sdk.core.utils.compat import PY2
6
7
CURRENT_DIR = path.abspath(path.dirname(__file__))
8
@@ -20,7 +19,7 @@
20
19
'botocore>=1.11.3',
21
]
22
23
-if sys.version_info[0] == 2:
+if PY2:
24
INSTALL_REQUIRED_DEPS.append("future")
25
26
setup(
tox.ini
@@ -52,12 +52,12 @@ deps =
52
codecov
53
54
; Packages common to all test environments
55
- future
56
wrapt
57
58
; Python 2.7 only deps
59
py{27}: enum34
60
py{27}: mock
+ py{27}: future
61
62
; Python 3.4 only deps
63
py34: typing >= 3.7.4.3
0 commit comments