File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change
1
+ import sys
1
2
from twilio import __version__
2
3
from setuptools import setup , find_packages
3
4
8
9
#
9
10
# You need to have the setuptools module installed. Try reading the setuptools
10
11
# documentation: http://pypi.python.org/pypi/setuptools
12
+ REQUIRES = ["httplib2 >= 0.7" , "six" ]
11
13
14
+ if sys .version_info < (2 , 6 ):
15
+ REQUIRES .append ('simplejson' )
16
+ print REQUIRES
17
+
12
18
setup (
13
19
name = "twilio" ,
14
20
version = __version__ ,
17
23
author_email = "help@twilio.com" ,
18
24
url = "http://github.com/twilio/twilio-python/" ,
19
25
keywords = ["twilio" ,"twiml" ],
20
- install_requires = [ "httplib2 >= 0.7" , "six" ] ,
26
+ install_requires = REQUIRES ,
21
27
packages = find_packages (),
22
28
classifiers = [
23
29
"Development Status :: 5 - Production/Stable" ,
You can’t perform that action at this time.
0 commit comments