#!/usr/bin/env python

"""Setup script for the 'decompyle' distribution."""

____revision__ = "$Id: setup.py,v $"

from distutils.core import setup, Extension

setup (name = "decompyle",
       version = "2.2beta1",
       description = "Python byte-code to source-code converter",
       author = "Hartmut Goebel",
       author_email = "hartmut@oberon.noris.de",
       url = "http://www.goebel-consult.de/decompyle/",
       packages=['decompyle2_2'],
       package_dir={'decompyle2_2' : 'decompyle'},
       scripts=['scripts/decompyle'],
       ext_modules = [Extension('decompyle2_2/marshal_20',
                                ['decompyle/marshal_22_for_20.c'],
                                define_macros=[('MARSHAL_VERSION', 20)]),
                      ]
      )
