xref: /aosp_15_r20/external/rappor/tests/setup.py (revision 2abb31345f6c95944768b5222a9a5ed3fc68cc00)
1*2abb3134SXin Li#!/usr/bin/python
2*2abb3134SXin Li#
3*2abb3134SXin Li# Copyright 2014 Google Inc. All rights reserved.
4*2abb3134SXin Li#
5*2abb3134SXin Li# Licensed under the Apache License, Version 2.0 (the "License");
6*2abb3134SXin Li# you may not use this file except in compliance with the License.
7*2abb3134SXin Li# You may obtain a copy of the License at
8*2abb3134SXin Li#
9*2abb3134SXin Li#     http://www.apache.org/licenses/LICENSE-2.0
10*2abb3134SXin Li#
11*2abb3134SXin Li# Unless required by applicable law or agreed to in writing, software
12*2abb3134SXin Li# distributed under the License is distributed on an "AS IS" BASIS,
13*2abb3134SXin Li# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*2abb3134SXin Li# See the License for the specific language governing permissions and
15*2abb3134SXin Li# limitations under the License.
16*2abb3134SXin Li
17*2abb3134SXin Li
18*2abb3134SXin Lifrom distutils.core import setup, Extension
19*2abb3134SXin Li
20*2abb3134SXin Limodule = Extension('_fastrand',
21*2abb3134SXin Li                    sources = ['_fastrand.c'])
22*2abb3134SXin Li
23*2abb3134SXin Lisetup(name = '_fastrand',
24*2abb3134SXin Li      version = '1.0',
25*2abb3134SXin Li      description = 'Module to speed up RAPPOR simulation',
26*2abb3134SXin Li      ext_modules = [module])
27