#!/usr/bin/env python
"""Distutils setup file
RuleDispatch is Copyright 2004, 2005 by Phillip J. Eby; all rights reserved.
This software may be used under the same terms as Python or Zope, with NO
WARRANTIES OF ANY KIND WHATSOEVER.
"""
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, Feature, Extension, find_packages
speedups = Feature(
"optional C speed-enhancement modules",
standard = True,
ext_modules = [
Extension("dispatch._speedups", ["src/dispatch/_speedups.pyx"]),
]
)
setup(
name="RuleDispatch",
version="0.5a0",
description="Rule-based Dispatching and Generic Functions",
author="Phillip J. Eby",
author_email="peak@eby-sarna.com",
license="PSF or ZPL",
install_requires = ['PyProtocols>=1.0a0dev'],
#url="http://peak.telecommunity.com/PyProtocols.html",
zip_safe = True,
test_suite = 'dispatch.tests.test_suite',
package_dir = {'':'src'},
package_data = {'': ['*.txt']},
packages = find_packages('src'),
features = {'speedups': speedups}
)
syntax highlighted by Code2HTML, v. 0.9.1