14 lines
359 B
Python
14 lines
359 B
Python
#!/usr/bin/env python3
|
|
|
|
from setuptools import setup, Extension
|
|
from Cython.Build import cythonize
|
|
from Cython.Distutils import build_ext
|
|
|
|
cmd = {'build_ext': build_ext}
|
|
ext = Extension(
|
|
'new_packet', sources=['new_packet.pyx'], libraries=['netfilter_queue'])
|
|
|
|
setup(
|
|
name='DNX-NFQUEUE', cmdclass=cmd, ext_modules=cythonize(ext, language_level='3')
|
|
)
|