forked from P1sec/pysctp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (45 loc) · 2.3 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
"""
setup.py
Created by Philippe Langlois on 2009-11-02.
Copyright (c) 2009 Philippe Langlois. All rights reserved.
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
You should have received a copy of the GNU Lesser General Public License
along with this library; If not, see <http://www.gnu.org/licenses/>.
"""
import setuptools
from distutils.core import setup, Extension
setup(name='pysctp',
version='0.7.2',
license = "LGPL",
description = 'pysctp is a python module for the SCTP protocol stack and library',
long_description = 'pysctp is a python wrapper for the SCTP protocol stack and library. On Mac OS X you will need the SCTP NKE (Kernel Extensions). On Linux systems, you need an SCTP-aware kernel (most are) and install the following packages (debian): apt install libsctp-dev libsctp1 lksctp-tools',
url = "https://github.com/p1sec/pysctp",
keywords = "SCTP SIGTRAN",
platforms = ["Linux", "Debian", "Ubuntu", "Fedora", "Mac OS X (untested)"],
classifiers = ['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Programming Language :: C',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Networking' ],
py_modules=['sctp'],
ext_modules=[Extension('_sctp', sources=['_sctp.c'],
include_dirs=['.', '/usr/include'],
libraries=['sctp'],
library_dirs=['/usr/lib/', '/usr/local/lib/'],
)
],
data_files=[('include', ['_sctp.h'])],
author='Elvis Pfutzenreuter',
author_email='epx@epx.com.br',
maintainer='Benoit Michau',
maintainer_email='benoit.michau@p1sec.com',
)