File tree Expand file tree Collapse file tree 4 files changed +34
-25
lines changed
Expand file tree Collapse file tree 4 files changed +34
-25
lines changed Original file line number Diff line number Diff line change 1+ include *.h
Original file line number Diff line number Diff line change 11# python-ESL
22
3- This is FreeSWITCH's ESL library and SWIG, pulled directly out of
4- tree. Nothing more, nothing less, no modifications.
3+ This is FreeSWITCH's [ Python ESL SWIG wrapper ] ( https://freeswitch.org/confluence/display/FREESWITCH/Python+ESL )
4+ pulled directly out of tree on version ` 1.4.18 ` with no modifications.
55
6- All we've done is replaced the Makefile with setuptools to make it pip
7- installable.
6+ All we've done is replaced the ` Makefile ` with ` setuptools ` to make the package
7+ easy to install with pip:
88
9- pip install git+https://github.com/sangoma/ python-ESL
9+ pip install python-ESL
1010
11- Should work for both python2 and python3 .
11+ It should work on both python 2 and 3 .
Original file line number Diff line number Diff line change 1+ [metadata]
2+ description-file = README.md
Original file line number Diff line number Diff line change 11from setuptools import setup , Extension
22
33
4- setup (name = 'ESL' ,
5- version = '1.5.14' ,
6- author = 'FreeSWITCH Developers' ,
7- description = 'FreeSWITCH ESL module' ,
8- ext_modules = [
9- Extension ('_ESL' ,
10- sources = ['esl.c' ,
11- 'esl_buffer.c' ,
12- 'esl_config.c' ,
13- 'esl_event.c' ,
14- 'esl_json.c' ,
15- 'esl_threadmutex.c' ,
16- 'esl_oop.cpp' ,
17- 'ESL.i' ],
18- swig_opts = ['-classic' , '-c++' , '-DMULTIPLICITY' ,
19- '-threads' , '-I.' ],
20- extra_compile_args = ['-I.' ])
21- ],
22- py_modules = ["ESL" ])
4+ setup (
5+ name = 'python-ESL' ,
6+ version = '1.4.18' ,
7+ author = 'FreeSWITCH Developers' ,
8+ description = 'FreeSWITCH Event Socket Library for Python' ,
9+ url = 'https://github.com/sangoma/python-ESL' ,
10+ download_url = 'https://github.com/sangoma/python-ESL/tarball/1.4.18' ,
11+ ext_modules = [
12+ Extension (
13+ '_ESL' ,
14+ sources = ['esl.c' ,
15+ 'esl_buffer.c' ,
16+ 'esl_config.c' ,
17+ 'esl_event.c' ,
18+ 'esl_json.c' ,
19+ 'esl_threadmutex.c' ,
20+ 'esl_oop.cpp' ,
21+ 'ESL.i' ],
22+ swig_opts = ['-classic' , '-c++' , '-DMULTIPLICITY' ,
23+ '-threads' , '-I.' ],
24+ extra_compile_args = ['-I.' ]
25+ )
26+ ],
27+ py_modules = ["ESL" ]
28+ )
You can’t perform that action at this time.
0 commit comments