libmagic python bindings

Brett Funderburg brettf at deepfile.com
Tue Oct 7 15:57:26 EDT 2003


Greetings,

I have written a python wrapper around libmagic. I'm wondering if the
maintainers would like to add it to the source distribution. I'm currently
building it by hand (using distutils) after going through the configure,
make, make install routine for 'file' but it might be nice to have the
python module build process integrated with the regular build for 'file'.
Perhaps something like ./configure --with-python. Unfortunately, I've
never used autoconf/automake so I have no idea how to do this.

I've posted the .c file for review. Hit me back if there's interest and
I'll post the .h and distutils build file.

Regards,

brett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: py_magic.c
Type: application/octet-stream
Size: 9088 bytes
Desc: not available
Url : http://mx.gw.com/pipermail/file/attachments/20031007/09c806d4/py_magic.obj


More information about the File mailing list