-
Notifications
You must be signed in to change notification settings - Fork 179
/
setup.py
71 lines (63 loc) · 2.31 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
66
67
68
69
70
71
from setuptools import find_packages
import sys
requires = ['gevent', 'flask', 'ujson', 'redis']
if sys.prefix == '/usr':
etc_prefix = '/etc'
else:
etc_prefix = sys.prefix + '/etc'
author = "Plivo Inc"
author_email = "hello@plivo.com"
maintainer = "Plivo Inc"
maintainer_email = "hello@plivo.com"
license = "MPL 1.1"
setup_args = {
'name':'plivo',
'version':'0.1.1',
'description':'Plivo Framework - Rapid Telephony Application Prototyping Framework',
'url':'http://github.com/plivo/plivoframework',
'author':author,
'author_email':author_email,
'maintainer':maintainer,
'maintainer_email':maintainer_email,
'platforms':['linux'],
'long_description':'Framework to prototype telephony applications rapidly in any language',
'package_dir':{'': 'src'},
'packages':find_packages('src'),
'include_package_data':True,
'scripts':['src/bin/plivo-rest',
'src/bin/plivo-outbound',
'src/bin/plivo-cache',
'src/bin/plivo-postinstall',
'src/bin/wavdump.py',
'src/bin/wavstream.sh',
'src/bin/cacheserver',
'src/bin/plivo'],
'data_files':[(etc_prefix+'/plivo/', ['src/config/default.conf', 'src/config/cache.conf',
'src/initscripts/centos/plivo', 'src/initscripts/centos/plivocache']),
],
'keywords':"telecom voip telephony freeswitch ivr rest",
'license':license,
'zip_safe':False,
'classifiers':[
"Programming Language :: Python",
"Operating System :: POSIX",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Communications",
"Topic :: Multimedia",
"Environment :: Console",
"Environment :: Web Environment",
"Programming Language :: Python",
"Intended Audience :: Developers",
"Intended Audience :: Telecommunications Industry",
"License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)",
"Development Status :: 1 - Beta"]
}
try:
from setuptools import setup
setup_args['install_requires'] = requires
except ImportError:
from distutils.core import setup
setup_args['requires'] = requires
# setup
setup(**setup_args)