"""A Python script to build the _tifffile extension module.

Usage:: ``python setup.py build_ext --inplace``

"""

from distutils.core import setup, Extension
import numpy

setup(name='_tifffile',
    version="2012.04.21",
    description="Read image and meta-data from TIFF, STK, LSM, OME-TIFF, and FluoView files",
    keywords="tiff,stk,lsm",
    author="Christoph Gohlke",
    url="http://www.lfd.uci.edu/~gohlke/",
    license="BSD",
    ext_modules=[
      Extension(
        '_tifffile', ['tifffile.c'],
        include_dirs=[numpy.get_include()],
        extra_compile_args=[])],
)
