2007-03-01 00:35:54 +00:00
|
|
|
#!/usr/bin/env python
|
2009-03-30 21:35:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
# or more contributor license agreements. See the NOTICE file
|
|
|
|
# distributed with this work for additional information
|
|
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
|
|
# to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance
|
|
|
|
# with the License. You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2007-03-01 00:35:54 +00:00
|
|
|
#
|
2009-03-30 21:35:00 +00:00
|
|
|
# Unless required by applicable law or agreed to in writing,
|
|
|
|
# software distributed under the License is distributed on an
|
|
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
# KIND, either express or implied. See the License for the
|
|
|
|
# specific language governing permissions and limitations
|
|
|
|
# under the License.
|
2007-03-01 00:35:54 +00:00
|
|
|
#
|
|
|
|
|
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',
|
2011-08-13 21:29:36 +00:00
|
|
|
version = '0.8.0-dev',
|
2010-10-22 11:20:25 +00:00
|
|
|
description = 'Python bindings for the Apache Thrift RPC system',
|
2009-05-10 05:14:44 +00:00
|
|
|
author = ['Thrift Developers'],
|
2010-11-02 07:33:30 +00:00
|
|
|
author_email = ['dev@thrift.apache.org'],
|
|
|
|
url = 'http://thrift.apache.org',
|
2009-05-10 05:14:44 +00:00
|
|
|
license = 'Apache License 2.0',
|
2007-08-30 03:30:22 +00:00
|
|
|
packages = [
|
|
|
|
'thrift',
|
|
|
|
'thrift.protocol',
|
|
|
|
'thrift.transport',
|
|
|
|
'thrift.server',
|
|
|
|
],
|
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
|
|
|
)
|
|
|
|
|