blob: c727db4814d08202017b96a514e2b3424c503610 [file] [log] [blame]
Mark Sleefb40c192007-03-01 00:35:54 +00001#!/usr/bin/env python
2#
3# Copyright (c) 2006- Facebook
4# Distributed under the Thrift Software License
5#
6# See accompanying file LICENSE or visit the Thrift site at:
7# http://developers.facebook.com/thrift/
8
David Reiss382fc302007-08-25 18:01:30 +00009from distutils.core import setup, Extension
10
11fastbinarymod = Extension('thrift.protocol.fastbinary',
12 sources = ['src/protocol/fastbinary.c'],
13 )
Mark Sleecde2b612006-09-03 21:13:07 +000014
15setup(name = 'Thrift',
16 version = '1.0',
17 description = 'Thrift Python Libraries',
18 author = ['Mark Slee'],
19 author_email = ['mcslee@facebook.com'],
20 url = 'http://code.facebook.com/thrift',
David Reiss792df0b2007-08-30 03:30:22 +000021 packages = [
22 'thrift',
23 'thrift.protocol',
24 'thrift.transport',
25 'thrift.server',
26 'thrift.reflection',
27 'thrift.reflection.limited',
28 ],
Mark Sleecde2b612006-09-03 21:13:07 +000029 package_dir = {'thrift' : 'src'},
David Reiss382fc302007-08-25 18:01:30 +000030 ext_modules = [fastbinarymod],
Mark Sleecde2b612006-09-03 21:13:07 +000031 )
32