xref: /aosp_15_r20/external/private-join-and-compute/private_join_and_compute/py/BUILD (revision a6aa18fbfbf9cb5cd47356a9d1b057768998488c)
1# Copyright 2019 Google LLC.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15load("@rules_python//python:packaging.bzl", "py_package", "py_wheel")
16
17package(default_visibility = ["//visibility:public"])
18
19# Creates private_join_and_compute-0.0.1.whl
20py_wheel(
21    name = "private_join_and_compute_wheel",
22    classifiers = [
23        "License :: OSI Approved :: Apache Software License",
24    ],
25    description_file = "README",
26    # This should match the project name on PyPI. It's also the name that is used to refer to the
27    # package in other packages' dependencies.
28    distribution = "private_join_and_compute",
29    python_tag = "py3",
30    requires = [
31        "absl-py",
32        "six",
33    ],
34    version = "0.0.1",
35    deps = [
36        "//private_join_and_compute/py/ciphers:ec_cipher",
37        "//private_join_and_compute/py/crypto_util:converters",
38        "//private_join_and_compute/py/crypto_util:elliptic_curve",
39        "//private_join_and_compute/py/crypto_util:ssl_util",
40        "//private_join_and_compute/py/crypto_util:supported_curves",
41        "//private_join_and_compute/py/crypto_util:supported_hashes",
42    ],
43)
44