--- setup.py 2005-12-15 07:41:42.000000000 +0100 +++ setup.py 2008-05-25 18:10:01.461135391 +0200 @@ -1,18 +1,12 @@ -#from distutils.core import setup, Extension -from ez_setup import use_setuptools -use_setuptools() -from setuptools import setup, Extension +#!/usr/bin/env python +from distutils import core +from distutils.extension import Extension -c_ext = Extension("fcgi", ["fastcgi/pyfcgi.c"], libraries=["fcgi"], - include_dirs=["/usr/local/include"], - library_dirs=["/usr/local/lib"], - #extra_link_args=["-s"], - ) - -setup(name="python-fastcgi", +core.setup( + name="python-fastcgi", version="1.1", - description="Python wrapper for the Open Market FastCGI library", + description="Python wrapper for the Open Market FastCGI library.", long_description="python-fastcgi is a lightweight wrapper around the Open Market FastCGI C Library/SDK. It includes threaded and forking WSGI 1.0 server implementations.", author="Cody Pisto", author_email="cody@hpcs.com", @@ -26,9 +20,7 @@ "Programming Language :: C", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Software Development :: Libraries :: Python Modules"], - packages=["fastcgi"], - #data_files=[("share/doc/python-fastcgi/example", ["example/test.fcgi"])], + packages=['fastcgi'], ext_package='fastcgi', - ext_modules=[c_ext], - zip_safe=False, - ) + ext_modules=[Extension(name='fcgi', sources=['fastcgi/pyfcgi.c'], libraries=['fcgi'])], +)