Public Member Functions | Static Public Attributes | List of all members
setup.BuildBazelExtension Class Reference
Inheritance diagram for setup.BuildBazelExtension:
Inheritance graph
[legend]

Public Member Functions

def bazel_build (self, ext)
 
def run (self)
 

Static Public Attributes

string author = "Google",
 
string author_email = "benchmark-py@google.com",
 
list classifiers
 
 cmdclass = dict(build_ext=BuildBazelExtension),
 
string description = "A library to benchmark code snippets.",
 
list ext_modules
 
 install_requires = _parse_requirements("bindings/python/requirements.txt"),
 
string keywords = "benchmark",
 
string license = "Apache 2.0",
 
 name
 
dictionary package_dir = {"": "bindings/python"},
 
 packages = setuptools.find_packages("bindings/python"),
 
string url = "https://github.com/google/benchmark",
 
 version = _get_version(),
 
bool zip_safe = False,
 

Detailed Description

A command that runs Bazel to build a C/C++ extension.

Definition at line 55 of file third_party/benchmark/setup.py.

Member Function Documentation

◆ bazel_build()

def setup.BuildBazelExtension.bazel_build (   self,
  ext 
)
Runs the bazel build to create the package.

Definition at line 63 of file third_party/benchmark/setup.py.

◆ run()

def setup.BuildBazelExtension.run (   self)

Definition at line 58 of file third_party/benchmark/setup.py.

Member Data Documentation

◆ author

string setup.BuildBazelExtension.author = "Google",
static

Definition at line 112 of file third_party/benchmark/setup.py.

◆ author_email

string setup.BuildBazelExtension.author_email = "benchmark-py@google.com",
static

Definition at line 113 of file third_party/benchmark/setup.py.

◆ classifiers

list setup.BuildBazelExtension.classifiers
static
Initial value:
= [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Testing",
"Topic :: System :: Benchmark",
],

Definition at line 127 of file third_party/benchmark/setup.py.

◆ cmdclass

setup.BuildBazelExtension.cmdclass = dict(build_ext=BuildBazelExtension),
static

Definition at line 118 of file third_party/benchmark/setup.py.

◆ description

string setup.BuildBazelExtension.description = "A library to benchmark code snippets.",
static

Definition at line 111 of file third_party/benchmark/setup.py.

◆ ext_modules

list setup.BuildBazelExtension.ext_modules
static
Initial value:
= [
BazelExtension(
"google_benchmark._benchmark",
"//bindings/python/google_benchmark:_benchmark",
)
],

Definition at line 119 of file third_party/benchmark/setup.py.

◆ install_requires

setup.BuildBazelExtension.install_requires = _parse_requirements("bindings/python/requirements.txt"),
static

Definition at line 117 of file third_party/benchmark/setup.py.

◆ keywords

string setup.BuildBazelExtension.keywords = "benchmark",
static

Definition at line 139 of file third_party/benchmark/setup.py.

◆ license

string setup.BuildBazelExtension.license = "Apache 2.0",
static

Definition at line 138 of file third_party/benchmark/setup.py.

◆ name

setup.BuildBazelExtension.name
static

Definition at line 108 of file third_party/benchmark/setup.py.

◆ package_dir

dictionary setup.BuildBazelExtension.package_dir = {"": "bindings/python"},
static

Definition at line 115 of file third_party/benchmark/setup.py.

◆ packages

setup.BuildBazelExtension.packages = setuptools.find_packages("bindings/python"),
static

Definition at line 116 of file third_party/benchmark/setup.py.

◆ url

string setup.BuildBazelExtension.url = "https://github.com/google/benchmark",
static

Definition at line 110 of file third_party/benchmark/setup.py.

◆ version

setup.BuildBazelExtension.version = _get_version(),
static

Definition at line 109 of file third_party/benchmark/setup.py.

◆ zip_safe

bool setup.BuildBazelExtension.zip_safe = False,
static

Definition at line 125 of file third_party/benchmark/setup.py.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:43