1 # Python distutils build script for magic extension
2 from distutils
.core
import setup
, Extension
4 magic_module
= Extension('magic',
6 library_dirs
= ['./','../','../src','/usr/lib/'],
7 include_dirs
= ['./','../','../src','/usr/include/'],
8 sources
= ['py_magic.c'])
10 setup (name
= 'Magic file extensions',
12 author
= 'Brett Funderburg',
13 author_email
= 'brettf@deepfile.com',
15 description
= 'libmagic python bindings',
16 ext_modules
= [magic_module
])