Classes | Functions | Variables
commands Namespace Reference

Classes

class  BuildExt
 
class  BuildProjectMetadata
 
class  BuildPy
 
class  Clean
 
class  CommandError
 
class  Gather
 
class  GatherProto
 
class  RunFork
 
class  RunInterop
 
class  SphinxDocumentation
 
class  TestAio
 
class  TestGevent
 
class  TestLite
 
class  TestPy3Only
 

Functions

def _get_grpc_custom_bdist (decorated_basename, target_bdist_basename)
 
def _poison_extensions (extensions, message)
 
def check_and_update_cythonization (extensions)
 
def try_cythonize (extensions, linetracing=False, mandatory=True)
 

Variables

 CYTHON_STEM = os.path.join(PYTHON_STEM, 'grpc', '_cython')
 
 GRPC_PROTO_STEM = os.path.join(GRPC_STEM, 'src', 'proto')
 
 GRPC_STEM = os.path.abspath(PYTHON_STEM + '../../../../')
 
 PROTO_GEN_STEM = os.path.join(GRPC_STEM, 'src', 'python', 'gens')
 
 PROTO_STEM = os.path.join(GRPC_STEM, 'src', 'proto')
 
 PYTHON_PROTO_TOP_LEVEL = os.path.join(PYTHON_STEM, 'src')
 
 PYTHON_STEM = os.path.dirname(os.path.abspath(__file__))
 

Function Documentation

◆ _get_grpc_custom_bdist()

def commands._get_grpc_custom_bdist (   decorated_basename,
  target_bdist_basename 
)
private
Returns a string path to a bdist file for Linux to install.

  If we can retrieve a pre-compiled bdist from online, uses it. Else, emits a
  warning and builds from source.

Definition at line 46 of file commands.py.

◆ _poison_extensions()

def commands._poison_extensions (   extensions,
  message 
)
private
Includes a file that will always fail to compile in all extensions.

Definition at line 131 of file commands.py.

◆ check_and_update_cythonization()

def commands.check_and_update_cythonization (   extensions)
Replace .pyx files with their generated counterparts and return whether or
 not cythonization still needs to occur.

Definition at line 140 of file commands.py.

◆ try_cythonize()

def commands.try_cythonize (   extensions,
  linetracing = False,
  mandatory = True 
)
Attempt to cythonize the extensions.

  Args:
extensions: A list of `distutils.extension.Extension`.
linetracing: A bool indicating whether or not to enable linetracing.
mandatory: Whether or not having Cython-generated files is mandatory. If it
  is, extensions will be poisoned when they can't be fully generated.

Definition at line 165 of file commands.py.

Variable Documentation

◆ CYTHON_STEM

commands.CYTHON_STEM = os.path.join(PYTHON_STEM, 'grpc', '_cython')

Definition at line 37 of file commands.py.

◆ GRPC_PROTO_STEM

commands.GRPC_PROTO_STEM = os.path.join(GRPC_STEM, 'src', 'proto')

Definition at line 34 of file tests/commands.py.

◆ GRPC_STEM

commands.GRPC_STEM = os.path.abspath(PYTHON_STEM + '../../../../')

Definition at line 34 of file commands.py.

◆ PROTO_GEN_STEM

commands.PROTO_GEN_STEM = os.path.join(GRPC_STEM, 'src', 'python', 'gens')

Definition at line 36 of file commands.py.

◆ PROTO_STEM

commands.PROTO_STEM = os.path.join(GRPC_STEM, 'src', 'proto')

Definition at line 35 of file commands.py.

◆ PYTHON_PROTO_TOP_LEVEL

commands.PYTHON_PROTO_TOP_LEVEL = os.path.join(PYTHON_STEM, 'src')

Definition at line 36 of file tests/commands.py.

◆ PYTHON_STEM

commands.PYTHON_STEM = os.path.dirname(os.path.abspath(__file__))

Definition at line 33 of file commands.py.



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