#!/usr/bin/env python

from distutils.core import setup, Extension

setup(name="generate",
	version="2.2",
	description="Text pre-processor",
	author="D'Arcy J.M. Cain",
	author_email="darcy@druid.net",
	url="http://www.druid.net/darcy/readme-generate.html",
	ext_modules=[Extension("generate", [
			"generate.c",
			"expr.c",
			"getarg.c",
			"getline.c",
			"sockunix.c",
			"xstrtok.c",
		],
		define_macros=[
			('PYTHON', '1'),
			('XGETLINE_VERSION', '1'),
			('RESTRICTED_VERSION', '1'),
		]
	)]
)



syntax highlighted by Code2HTML, v. 0.9.1