Mark Slee | fb40c19 | 2007-03-01 00:35:54 +0000 | [diff] [blame] | 1 | #!/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 Reiss | 382fc30 | 2007-08-25 18:01:30 +0000 | [diff] [blame] | 9 | from distutils.core import setup, Extension |
| 10 | |
| 11 | fastbinarymod = Extension('thrift.protocol.fastbinary', |
| 12 | sources = ['src/protocol/fastbinary.c'], |
| 13 | ) |
Mark Slee | cde2b61 | 2006-09-03 21:13:07 +0000 | [diff] [blame] | 14 | |
| 15 | setup(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 Reiss | 792df0b | 2007-08-30 03:30:22 +0000 | [diff] [blame] | 21 | packages = [ |
| 22 | 'thrift', |
| 23 | 'thrift.protocol', |
| 24 | 'thrift.transport', |
| 25 | 'thrift.server', |
| 26 | 'thrift.reflection', |
| 27 | 'thrift.reflection.limited', |
| 28 | ], |
Mark Slee | cde2b61 | 2006-09-03 21:13:07 +0000 | [diff] [blame] | 29 | package_dir = {'thrift' : 'src'}, |
David Reiss | 382fc30 | 2007-08-25 18:01:30 +0000 | [diff] [blame] | 30 | ext_modules = [fastbinarymod], |
Mark Slee | cde2b61 | 2006-09-03 21:13:07 +0000 | [diff] [blame] | 31 | ) |
| 32 | |