Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 67 lines (57 sloc) 2.053 kb
729f8b9 rework setup
Michael Ricordeau authored
1 from setuptools import find_packages
2 import sys
3
4 if sys.prefix == '/usr':
5 etc_prefix = '/etc'
6 else:
7 etc_prefix = sys.prefix + '/etc'
8
5f17ba0 @miglu initial push - shifting from bitbucket to git
miglu authored
9
252263c switch to plivo
Michael Ricordeau authored
10 author = "Plivo Team"
53725b5 @tamiel update git repo and email
tamiel authored
11 author_email = "hello@plivo.org"
252263c switch to plivo
Michael Ricordeau authored
12 maintainer = "Plivo Team"
53725b5 @tamiel update git repo and email
tamiel authored
13 maintainer_email = "hello@plivo.org"
c45b7db rework setup
Michael Ricordeau authored
14 license = "MPL 1.1"
5f17ba0 @miglu initial push - shifting from bitbucket to git
miglu authored
15
acbbac8 @tamiel rework setup
tamiel authored
16 setup_args = {
252263c switch to plivo
Michael Ricordeau authored
17 'name':'plivo',
414baba Base line version to 0.1.0
bevenky authored
18 'version':'0.1.0',
5479213 Add Todo, Update License and Readme file
bevenky authored
19 'description':'Plivo - Rapid Communication Application Development Framework',
53725b5 @tamiel update git repo and email
tamiel authored
20 'url':'http://github.com/plivo/plivo',
b04c829 @tamiel up VERSIOn, fix setup
tamiel authored
21 'author':author,
22 'author_email':author_email,
23 'maintainer':maintainer,
24 'maintainer_email':maintainer_email,
acbbac8 @tamiel rework setup
tamiel authored
25 'platforms':['linux'],
5479213 Add Todo, Update License and Readme file
bevenky authored
26 'long_description':'Framework to create communication applications rapidly in any language',
dbe24be @tamiel move setup.py to project root dir
tamiel authored
27 'package_dir':{'': 'src'},
732c01d @tamiel add plivo init script and reorganize
tamiel authored
28 'packages':find_packages('src'),
1ba308a @tamiel add VERSION.txt, README.txt and MANIFEST.in to package
tamiel authored
29 'include_package_data':True,
c45b7db rework setup
Michael Ricordeau authored
30 'scripts':['src/bin/plivo-rest',
31 'src/bin/plivo-outbound',
5b6713f check postinstall in plivo init script
Michael Ricordeau authored
32 'src/bin/plivo-postinstall',
c45b7db rework setup
Michael Ricordeau authored
33 'src/bin/plivo'],
729f8b9 rework setup
Michael Ricordeau authored
34 'data_files':[(etc_prefix+'/plivo/', ['src/config/default.conf']),
35 ],
5479213 Add Todo, Update License and Readme file
bevenky authored
36 'keywords':"telecom voip telephony freeswitch ivr rest",
c45b7db rework setup
Michael Ricordeau authored
37 'license':license,
e71d31a @tamiel zip_safe flag set to False
tamiel authored
38 'zip_safe':False,
acbbac8 @tamiel rework setup
tamiel authored
39 'classifiers':[
5f17ba0 @miglu initial push - shifting from bitbucket to git
miglu authored
40 "Programming Language :: Python",
41 "Operating System :: POSIX",
42 "Topic :: Internet",
43 "Topic :: Software Development :: Libraries :: Python Modules",
44 "Topic :: Communications",
45 "Topic :: Multimedia",
46 "Environment :: Console",
47 "Environment :: Web Environment",
48 "Programming Language :: Python",
49 "Intended Audience :: Developers",
50 "Intended Audience :: Telecommunications Industry",
7e820ab @tamiel reorganize
tamiel authored
51 "License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)",
414baba Base line version to 0.1.0
bevenky authored
52 "Development Status :: 1 - Beta"]
acbbac8 @tamiel rework setup
tamiel authored
53 }
5f17ba0 @miglu initial push - shifting from bitbucket to git
miglu authored
54
acbbac8 @tamiel rework setup
tamiel authored
55
56 try:
57 from setuptools import setup
9179f62 Add Flask into dependencies, Add REST module for plivo
bevenky authored
58 setup_args['install_requires'] = ['gevent', 'flask']
acbbac8 @tamiel rework setup
tamiel authored
59 except ImportError:
60 from distutils.core import setup
9179f62 Add Flask into dependencies, Add REST module for plivo
bevenky authored
61 setup_args['requires'] = ['gevent', 'flask']
252263c switch to plivo
Michael Ricordeau authored
62
2a281ee add postinstall script
Michael Ricordeau authored
63 # setup
5479213 Add Todo, Update License and Readme file
bevenky authored
64 setup(**setup_args)
732c01d @tamiel add plivo init script and reorganize
tamiel authored
65
c45b7db rework setup
Michael Ricordeau authored
66
Something went wrong with that request. Please try again.