-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
executable file
·37 lines (32 loc) · 1.41 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
#!/usr/bin/env python
from distutils.core import setup
from distutils.extension import Extension
import os
import glob
from setup_pjsip import PJSIP_build_ext
import sipsimple
setup(name = "python-sipsimple",
version = sipsimple.__version__,
author = "AG Projects",
author_email = "[email protected]",
url = "http://sipsimpleclient.com",
description = "SIP SIMPLE client",
long_description = "Python SIP SIMPLE client library using PJSIP",
platforms = ["Platform Independent"],
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Service Providers",
"License :: GNU Lesser General Public License (LGPL)",
"Operating System :: OS Independent",
"Programming Language :: Python"
],
packages = ["sipsimple", "sipsimple.core", "sipsimple.streams", "sipsimple.streams.applications", "sipsimple.payloads", "sipsimple.configuration", "sipsimple.configuration.backend", "sipsimple.xcap" ],
package_data = {
'sipsimple.payloads' : ['xml-schemas/*']
},
ext_modules = [
Extension(name = "sipsimple.core._core",
sources = ["sipsimple/core/_core.pyx", "sipsimple/core/_core.pxd"] + glob.glob(os.path.join("sipsimple", "core", "_core.*.pxi")))
],
cmdclass = { 'build_ext': PJSIP_build_ext }
)