On Fri, Mar 3, 2017 at 3:00 PM,  <[email protected]> wrote:
> Hello all,
>   I tried to import `./src/python/seccomp.pyx` with my python interpreter. I 
> get some errors (http://lpaste.net/353187). How to embed the library into a 
> python application? I just cd'ed into the directory and tried to import the 
> seccomp.pyx file into my python interpreter. Am I doing something wrong?

The recommended way to install the libseccomp python bindings is to
pass the '--enable-python' flag to configure and build/install
libseccomp like you would normally:

  # ./configure --enable-python
  # make
  # make install (this needs to be done as root)

Once you have the libseccomp python bindings installed you can 'import
seccomp' within your python code.

-- 
paul moore
www.paul-moore.com

-- 
You received this message because you are subscribed to the Google Groups 
"libseccomp" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to