Skip to content

Commit

Permalink
Merge 093e73a into 5731dd9
Browse files Browse the repository at this point in the history
  • Loading branch information
drakenclimber committed Mar 21, 2022
2 parents 5731dd9 + 093e73a commit c0f46c7
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions src/python/setup.py
Expand Up @@ -23,9 +23,9 @@

import os

from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
from setuptools import setup
from setuptools.extension import Extension
from Cython.Build import cythonize

setup(
name = "seccomp",
Expand All @@ -37,12 +37,9 @@
maintainer_email = "paul@paul-moore.com",
license = "LGPLv2.1",
platforms = "Linux",
cmdclass = {'build_ext': build_ext},
ext_modules = [
ext_modules = cythonize([
Extension("seccomp", ["seccomp.pyx"],
# unable to handle libtool libraries directly
extra_objects=["../.libs/libseccomp.a"],
# fix build warnings, see PEP 3123
extra_compile_args=["-fno-strict-aliasing"])
]
extra_objects=["../.libs/libseccomp.a"]),
])
)

0 comments on commit c0f46c7

Please sign in to comment.