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__)) | |
|
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.
|
private |
Includes a file that will always fail to compile in all extensions.
Definition at line 131 of file commands.py.
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.
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.
commands.CYTHON_STEM = os.path.join(PYTHON_STEM, 'grpc', '_cython') |
Definition at line 37 of file commands.py.
commands.GRPC_PROTO_STEM = os.path.join(GRPC_STEM, 'src', 'proto') |
Definition at line 34 of file tests/commands.py.
commands.GRPC_STEM = os.path.abspath(PYTHON_STEM + '../../../../') |
Definition at line 34 of file commands.py.
commands.PROTO_GEN_STEM = os.path.join(GRPC_STEM, 'src', 'python', 'gens') |
Definition at line 36 of file commands.py.
commands.PROTO_STEM = os.path.join(GRPC_STEM, 'src', 'proto') |
Definition at line 35 of file commands.py.
commands.PYTHON_PROTO_TOP_LEVEL = os.path.join(PYTHON_STEM, 'src') |
Definition at line 36 of file tests/commands.py.
commands.PYTHON_STEM = os.path.dirname(os.path.abspath(__file__)) |
Definition at line 33 of file commands.py.