[Subversion] / RuleDispatch / setup.py  

View of /RuleDispatch/setup.py

Parent Directory | Revision Log
Revision: 2506 - (download) (as text)
Mon Mar 3 00:44:53 2008 UTC (16 years ago) by pje
File size: 1230 byte(s)
Add urls and README for source snapshots
#!/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, sys
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._d_speedups", ["src/dispatch/_d_speedups.pyx"]),
    ]
)

setup(
    name="RuleDispatch",
    version="0.5a1",
    description="Rule-based Dispatching and Generic Functions",
    long_description = open('README.txt').read(),
    author="Phillip J. Eby",
    author_email="peak@eby-sarna.com",
    license="PSF or ZPL",
    install_requires = ['PyProtocols>=1.0a0dev-r2302', 'Extremes>=1.1'],
    url = "http://pypi.python.org/pypi/RuleDispatch",
    download_url = "http://peak.telecommunity.com/snapshots/",
    zip_safe    = sys.version>='2.3.5',
    test_suite  = 'dispatch.tests.test_suite',
    package_dir = {'':'src'},
    package_data = {'': ['*.txt']},
    packages    = find_packages('src'),
    features    = {'speedups': speedups}
)


cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help