NetBSD/dist/file/python/setup.py
pooka 373a872a16 autoconf-stuff wants the python-dir when building tools/file, so
it's just easier to import this small amount of extra payload than
to attempt a war on autotools.
2005-02-21 15:16:06 +00:00

17 lines
537 B
Python

# Python distutils build script for magic extension
from distutils.core import setup, Extension
magic_module = Extension('magic',
libraries = ['magic'],
library_dirs = ['./','../','../src','/usr/lib/'],
include_dirs = ['./','../','../src','/usr/include/'],
sources = ['py_magic.c'])
setup (name = 'Magic file extensions',
version = '0.1',
author = 'Brett Funderburg',
author_email = 'brettf@deepfile.com',
license = 'BSD',
description = 'libmagic python bindings',
ext_modules = [magic_module])