Source

crash / setup.py

Full commit
from distutils.core import setup, Extension
import sys

setup(name='crash',
    version='0.1',
    ext_modules=[Extension('_wincrash', ['_wincrash.c'])] 
                   if sys.platform in ('cygwin', 'win32') 
                   else [],
    py_modules = ['crash'],
    author="Jason Scheirer",
    author_email="jason.scheirer@gmail.com",
    url="http://bitbucket.org/jasonscheirer/crash/",
    description="Crash detection context manager for Windows",
    license="BSD",
    classifiers=[
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Environment :: Win32 (MS Windows)",
        "Operating System :: Microsoft :: Windows",
        "Programming Language :: C",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Topic :: Software Development :: Libraries"
    ],
    download_url="http://bitbucket.org/jasonscheirer/crash/get/0.1.zip"
)