forked from twilio/twilio-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·65 lines (59 loc) · 2.27 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
from __future__ import with_statement
import sys
from setuptools import setup, find_packages
__version__ = None
with open('twilio/version.py') as f:
exec(f.read())
# To install the twilio-python library, open a Terminal shell, then run this
# file by typing:
#
# python setup.py install
#
# You need to have the setuptools module installed. Try reading the setuptools
# documentation: http://pypi.python.org/pypi/setuptools
REQUIRES = ["httplib2 >= 0.7", "six", "pytz"]
if sys.version_info < (2, 6):
REQUIRES.append('simplejson')
if sys.version_info >= (3,0):
REQUIRES.append('pysocks')
setup(
name = "twilio",
version = __version__,
description = "Twilio API client and TwiML generator",
author = "Twilio",
author_email = "help@twilio.com",
url = "https://github.com/twilio/twilio-python/",
keywords = ["twilio","twiml"],
install_requires = REQUIRES,
# bdist conditional requirements support
extras_require={
':python_version=="3.2"': ['pysocks'],
':python_version=="3.3"': ['pysocks'],
':python_version=="3.4"': ['pysocks'],
},
packages = find_packages(),
include_package_data=True,
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Communications :: Telephony",
],
long_description = """\
Python Twilio Helper Library
----------------------------
DESCRIPTION
The Twilio REST SDK simplifies the process of making calls using the Twilio REST API.
The Twilio REST API lets to you initiate outgoing calls, list previous calls,
and much more. See https://www.github.com/twilio/twilio-python for more information.
LICENSE The Twilio Python Helper Library is distributed under the MIT
License """ )