setup.py 609 Bytes
#! /usr/bin/env python
# $Id: setup.py 1494 2009-04-30 13:10:41Z css1hs $

from distutils.core import setup, Extension

setup(name = 'JstegPackage',
    version = '0.1',
    description = 'jsteg mangler',
  ext_modules = [
    Extension ( "libmjsteg",
      sources=["jpegobject.c","jpeg.c"],
      include_dirs = ["/usr/local/include/python2.7",'/usr/local/include','/usr/local/lib/python2.7/site-packages/numpy/core/include'],
	  library_dirs = ['/usr/local/lib'],
      libraries = ['jpeg'],
    ),
  ],
)

# Note that the include_dirs given here are due to a bug in Ubuntu.
# -> Check it for your system.