2007-03-01 00:35:54 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
#
|
|
|
|
# Copyright (c) 2006- Facebook
|
|
|
|
# Distributed under the Thrift Software License
|
|
|
|
#
|
|
|
|
# See accompanying file LICENSE or visit the Thrift site at:
|
|
|
|
# http://developers.facebook.com/thrift/
|
|
|
|
|
2007-08-25 18:01:30 +00:00
|
|
|
from distutils.core import setup, Extension
|
|
|
|
|
|
|
|
fastbinarymod = Extension('thrift.protocol.fastbinary',
|
|
|
|
sources = ['src/protocol/fastbinary.c'],
|
|
|
|
)
|
2006-09-03 21:13:07 +00:00
|
|
|
|
|
|
|
setup(name = 'Thrift',
|
|
|
|
version = '1.0',
|
|
|
|
description = 'Thrift Python Libraries',
|
|
|
|
author = ['Mark Slee'],
|
|
|
|
author_email = ['mcslee@facebook.com'],
|
|
|
|
url = 'http://code.facebook.com/thrift',
|
2007-08-30 03:30:22 +00:00
|
|
|
packages = [
|
|
|
|
'thrift',
|
|
|
|
'thrift.protocol',
|
|
|
|
'thrift.transport',
|
|
|
|
'thrift.server',
|
|
|
|
'thrift.reflection',
|
|
|
|
'thrift.reflection.limited',
|
|
|
|
],
|
2006-09-03 21:13:07 +00:00
|
|
|
package_dir = {'thrift' : 'src'},
|
2007-08-25 18:01:30 +00:00
|
|
|
ext_modules = [fastbinarymod],
|
2006-09-03 21:13:07 +00:00
|
|
|
)
|
|
|
|
|