]>
iEval git - linux-seccomp.git/blob - libseccomp/src/python/setup.py
4 # Enhanced Seccomp Library Python Module Build Script
6 # Copyright (c) 2012 Red Hat <pmoore@redhat.com>
7 # Author: Paul Moore <paul@paul-moore.com>
11 # This library is free software; you can redistribute it and/or modify it
12 # under the terms of version 2.1 of the GNU Lesser General Public License as
13 # published by the Free Software Foundation.
15 # This library is distributed in the hope that it will be useful, but WITHOUT
16 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
20 # You should have received a copy of the GNU Lesser General Public License
21 # along with this library; if not, see <http://www.gnu.org/licenses>.
26 from distutils
.core
import setup
27 from distutils
.extension
import Extension
28 from Cython
.Distutils
import build_ext
32 version
= os
.environ
["VERSION_RELEASE"],
33 description
= "Python binding for libseccomp",
34 long_description
= "Python API for the Linux Kernel's syscall filtering capability, seccomp.",
35 url
= "https://github.com/seccomp/libseccomp",
36 maintainer
= "Paul Moore",
37 maintainer_email
= "paul@paul-moore.com",
40 cmdclass
= {'build_ext': build_ext
},
42 Extension("seccomp", ["seccomp.pyx"],
43 # unable to handle libtool libraries directly
44 extra_objects
=["../.libs/libseccomp.a"],
45 # fix build warnings, see PEP 3123
46 extra_compile_args
=["-fno-strict-aliasing"])
This page took 0.045391 seconds and 4 git commands to generate.