blob: 582a985ac0f5a5fe4271f123173681656844377a [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',
Mark Sleec9676562006-09-05 17:34:52 +000021 packages = ['thrift', 'thrift.protocol', 'thrift.transport', 'thrift.server'],
Mark Sleecde2b612006-09-03 21:13:07 +000022 package_dir = {'thrift' : 'src'},
David Reiss382fc302007-08-25 18:01:30 +000023 ext_modules = [fastbinarymod],
Mark Sleecde2b612006-09-03 21:13:07 +000024 )
25