Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 72 lines (63 sloc) 2.366 kB
729f8b9 rework setup
Michael Ricordeau authored
1 from setuptools import find_packages
2 import sys
3
ad6141e @tamiel tweak install for ujson, flask + centos deps
tamiel authored
4 requires = ['gevent', 'flask', 'ujson', 'redis']
22c6e09 @tamiel add processing module deps for python < 2.6
tamiel authored
5
729f8b9 rework setup
Michael Ricordeau authored
6 if sys.prefix == '/usr':
7 etc_prefix = '/etc'
8 else:
9 etc_prefix = sys.prefix + '/etc'
10
5f17ba0 @miglu initial push - shifting from bitbucket to git
miglu authored
11
a0eccaf @bevenky Update master
bevenky authored
12 author = "Plivo Inc"
13 author_email = "hello@plivo.com"
14 maintainer = "Plivo Inc"
15 maintainer_email = "hello@plivo.com"
c45b7db rework setup
Michael Ricordeau authored
16 license = "MPL 1.1"
5f17ba0 @miglu initial push - shifting from bitbucket to git
miglu authored
17
acbbac8 @tamiel rework setup
tamiel authored
18 setup_args = {
252263c switch to plivo
Michael Ricordeau authored
19 'name':'plivo',
ad6141e @tamiel tweak install for ujson, flask + centos deps
tamiel authored
20 'version':'0.1.1',
a0eccaf @bevenky Update master
bevenky authored
21 'description':'Plivo Framework - Rapid Telephony Application Prototyping Framework',
22 'url':'http://github.com/plivo/plivoframework',
b04c829 @tamiel up VERSIOn, fix setup
tamiel authored
23 'author':author,
24 'author_email':author_email,
25 'maintainer':maintainer,
26 'maintainer_email':maintainer_email,
acbbac8 @tamiel rework setup
tamiel authored
27 'platforms':['linux'],
a0eccaf @bevenky Update master
bevenky authored
28 'long_description':'Framework to prototype telephony applications rapidly in any language',
dbe24be @tamiel move setup.py to project root dir
tamiel authored
29 'package_dir':{'': 'src'},
732c01d @tamiel add plivo init script and reorganize
tamiel authored
30 'packages':find_packages('src'),
1ba308a @tamiel add VERSION.txt, README.txt and MANIFEST.in to package
tamiel authored
31 'include_package_data':True,
c45b7db rework setup
Michael Ricordeau authored
32 'scripts':['src/bin/plivo-rest',
33 'src/bin/plivo-outbound',
6a216d2 @tamiel rename media to cache
tamiel authored
34 'src/bin/plivo-cache',
5b6713f check postinstall in plivo init script
Michael Ricordeau authored
35 'src/bin/plivo-postinstall',
1901c7b @tamiel add new cache media api
tamiel authored
36 'src/bin/wavdump.py',
37 'src/bin/wavstream.sh',
5fee784 @tamiel add cacheserver and config
tamiel authored
38 'src/bin/cacheserver',
c45b7db rework setup
Michael Ricordeau authored
39 'src/bin/plivo'],
b9ebcba @tamiel init scripts setup
tamiel authored
40 'data_files':[(etc_prefix+'/plivo/', ['src/config/default.conf', 'src/config/cache.conf',
a0fb854 @areski Fix on setup.py to refer to the initscript files
areski authored
41 'src/initscripts/centos/plivo', 'src/initscripts/centos/plivocache']),
729f8b9 rework setup
Michael Ricordeau authored
42 ],
5479213 Add Todo, Update License and Readme file
bevenky authored
43 'keywords':"telecom voip telephony freeswitch ivr rest",
c45b7db rework setup
Michael Ricordeau authored
44 'license':license,
e71d31a @tamiel zip_safe flag set to False
tamiel authored
45 'zip_safe':False,
acbbac8 @tamiel rework setup
tamiel authored
46 'classifiers':[
5f17ba0 @miglu initial push - shifting from bitbucket to git
miglu authored
47 "Programming Language :: Python",
48 "Operating System :: POSIX",
49 "Topic :: Internet",
50 "Topic :: Software Development :: Libraries :: Python Modules",
51 "Topic :: Communications",
52 "Topic :: Multimedia",
53 "Environment :: Console",
54 "Environment :: Web Environment",
55 "Programming Language :: Python",
56 "Intended Audience :: Developers",
57 "Intended Audience :: Telecommunications Industry",
7e820ab @tamiel reorganize
tamiel authored
58 "License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)",
414baba Base line version to 0.1.0
bevenky authored
59 "Development Status :: 1 - Beta"]
acbbac8 @tamiel rework setup
tamiel authored
60 }
5f17ba0 @miglu initial push - shifting from bitbucket to git
miglu authored
61
acbbac8 @tamiel rework setup
tamiel authored
62
63 try:
64 from setuptools import setup
22c6e09 @tamiel add processing module deps for python < 2.6
tamiel authored
65 setup_args['install_requires'] = requires
acbbac8 @tamiel rework setup
tamiel authored
66 except ImportError:
67 from distutils.core import setup
22c6e09 @tamiel add processing module deps for python < 2.6
tamiel authored
68 setup_args['requires'] = requires
252263c switch to plivo
Michael Ricordeau authored
69
2a281ee add postinstall script
Michael Ricordeau authored
70 # setup
5479213 Add Todo, Update License and Readme file
bevenky authored
71 setup(**setup_args)
Something went wrong with that request. Please try again.