10000 moved conditionally to a python 3.2 compatible unittest2 · klanestro/twilio-python@a935163 · GitHub
[go: up one dir, main page]

Skip to content

Commit a935163

Browse files
committed
moved conditionally to a python 3.2 compatible unittest2
1 parent 3491ee0 commit a935163

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
six
22
httplib2
3-
unittest2

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313

1414
if sys.version_info < (2, 6):
1515
REQUIRES.append('simplejson')
16-
16+
if sys.version_info >= (3,0):
17+
REQUIRES.append('unittest2py3k')
18+
else:
19+
REQUIRES.append('unittest2')
20+
1721
setup(
1822
name = "twilio",
1923
version = __version__,

0 commit comments

Comments
 (0)
0