Skip to content

Commit cbf5265

Browse files
author
Tyler Goodlet
committed
Package first release for pypi
Include the headers with the source distribution so that we can build from pypi.
1 parent 97dec81 commit cbf5265

File tree

4 files changed

+34
-25
lines changed

4 files changed

+34
-25
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include *.h

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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.

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[metadata]
2+
description-file = README.md

setup.py

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,28 @@
11
from 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+
)

0 commit comments

Comments
 (0)