Classes | Functions | Variables
setup Namespace Reference

Classes

class  _NoOpCommand
 
class  BazelExtension
 
class  build_ext
 
class  build_py
 
class  BuildBazelExtension
 
class  BuildExt
 
class  clean
 
class  custom_bdist_egg
 
class  custom_build
 
class  custom_develop
 
class  custom_sdist
 
class  test_conformance
 

Functions

def _env_bool_value (env_name, default)
 
def _get_version ()
 
def _parse_requirements (path)
 
def _quote_build_define (argument)
 
def build_libraries ()
 
def check_linker_need_libatomic ()
 
def clean_bins ()
 
def copy_sources ()
 
def cython_extensions_and_necessity ()
 
def dummy_src ()
 
def extension_modules ()
 
def generate_proto (source, code_gen)
 
def GenerateUnittestProtos ()
 
def get_option_from_sys_argv (option_str)
 
def GetVersion ()
 

Variables

string __author__ = 'dlj@google.com (David L. Jones)'
 
 _EXT_INIT_SYMBOL = None
 
 _PACKAGE_PATH = os.path.realpath(os.path.dirname(__file__))
 
 _readme = f.read()
 
 _README_PATH = os.path.join(_PACKAGE_PATH, 'README.rst')
 
tuple ABSL_INCLUDE = (os.path.join('third_party', 'abseil-cpp'),)
 
tuple ADDRESS_SORTING_INCLUDE
 
string api_implementation_init_symbol = 'init_api_implementation'
 
 api_implementation_link_args = None
 
list asm_files = []
 
string asm_key = ''
 
 author = 'Nguyen Anh Quynh',
 
 author_email = 'aquynh@gmail.com',
 
 boringssl_asm_platform
 
 BUILD_DIR
 
 BUILD_OVERRIDE_BORING_SSL_ASM_PLATFORM
 
def BUILD_WITH_BORING_SSL_ASM
 
def BUILD_WITH_CYTHON = _env_bool_value('GRPC_PYTHON_BUILD_WITH_CYTHON', 'False')
 
def BUILD_WITH_STATIC_LIBSTDCXX
 
 BUILD_WITH_SYSTEM_ABSL = os.environ.get('GRPC_PYTHON_BUILD_SYSTEM_ABSL', False)
 
def BUILD_WITH_SYSTEM_CARES
 
def BUILD_WITH_SYSTEM_OPENSSL
 
def BUILD_WITH_SYSTEM_RE2 = _env_bool_value('GRPC_PYTHON_BUILD_SYSTEM_RE2', 'False')
 
def BUILD_WITH_SYSTEM_ZLIB
 
tuple CARES_INCLUDE
 
list CC_FILES = [os.path.normpath(cc_file) for cc_file in protoc_lib_deps.CC_FILES]
 
 CC_INCLUDE = os.path.normpath(protoc_lib_deps.CC_INCLUDE)
 
 CFLAGS = tuple(EXTRA_COMPILE_ARGS)
 
list CLASSIFIERS
 
 classifiers
 
 cmdclass = cmdclass,
 
dictionary COMMAND_CLASS
 
def compile_static_ext = get_option_from_sys_argv('--compile_static_extension')
 
 CORE_C_FILES = tuple(grpc_core_dependencies.CORE_SOURCE_FILES)
 
tuple CORE_INCLUDE
 
 credentials_dir = os.path.join(PYTHON_STEM, 'grpc', '_cython', '_credentials')
 
tuple CYTHON_EXTENSION_MODULE_NAMES = ('grpc._cython.cygrpc',)
 
tuple CYTHON_EXTENSION_PACKAGE_NAMES = ()
 
tuple CYTHON_HELPER_C_FILES = ()
 
tuple DEFINE_MACROS = (('_WIN32_WINNT', 0x600),)
 
 description = 'Capstone disassembly engine',
 
def DISABLE_LIBC_COMPATIBILITY
 
 download_url
 
def ENABLE_CYTHON_TRACING
 
def ENABLE_DOCUMENTATION_BUILD
 
 encoding
 
 entry_points
 
list EXCLUDE_PYTHON_FILES = ['generated_file_import_test.py', 'build.py']
 
list ext_module_list = []
 
 ext_modules
 
tuple EXTENSION_INCLUDE_DIRECTORIES
 
tuple EXTENSION_LIBRARIES = ()
 
list extra_compile_args = []
 
 EXTRA_COMPILE_ARGS = shlex.split(EXTRA_ENV_COMPILE_ARGS)
 
 EXTRA_ENV_COMPILE_ARGS = os.environ.get('GRPC_PYTHON_CFLAGS', None)
 
 EXTRA_ENV_LINK_ARGS = os.environ.get('GRPC_PYTHON_LDFLAGS', None)
 
 EXTRA_LINK_ARGS = shlex.split(EXTRA_ENV_LINK_ARGS)
 
 extra_objects = None
 
 extras_require
 
dictionary EXTRAS_REQUIRES
 
string GRPC_PYTHON_PROTO_RESOURCES_NAME = '_proto'
 
string GRPC_PYTHON_TOOLS_PACKAGE = 'grpc_tools'
 
 HEADERS_DIR
 
 HERE = os.path.dirname(os.path.abspath(__file__))
 
 idx
 
bool include_package_data = True,
 
tuple INSTALL_REQUIRES
 
 install_requires = ['six>=1.9', 'setuptools']
 
 IS_64BITS
 
 IS_WINDOWS = sys.platform.startswith("win")
 
 k
 
 LDFLAGS = tuple(EXTRA_LINK_ARGS)
 
list libraries = ['protobuf']
 
 LIBRARY_FILE
 
 LIBS_DIR
 
string LICENSE = 'Apache License 2.0'
 
 license
 
 line
 
 lines
 
string LINUX_AARCH64 = 'linux-aarch64'
 
string LINUX_ARM = 'linux-arm'
 
string LINUX_X86_64 = 'linux-x86_64'
 
 LONG_DESCRIPTION = f.read()
 
 long_description
 
 long_description_content_type
 
 mac_target = sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET')
 
 maintainer
 
 maintainer_email
 
 message_extra_link_args = None
 
string message_init_symbol = 'init_message'
 
 msvcr = cygwinccompiler.get_msvcr()[0]
 
 name = 'capstone',
 
 namespace_packages
 
dictionary PACKAGE_DATA
 
 package_data
 
 package_dir
 
dictionary PACKAGE_DIRECTORIES
 
 PACKAGES = setuptools.find_packages(PYTHON_STEM)
 
 packages = ['capstone'],
 
list PROTO_FILES
 
 PROTO_INCLUDE = os.path.normpath(protoc_lib_deps.PROTO_INCLUDE)
 
 protoc = os.environ['PROTOC']
 
list provides = ['capstone'],
 
int PY3 = 3
 
string pymodinit
 
string pymodinit_type = 'PyObject*' if PY3 else 'void'
 
 python_requires = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
 
 PYTHON_STEM = os.path.join('src', 'python', 'grpcio')
 
tuple RE2_INCLUDE = (os.path.join('third_party', 're2'),)
 
 README = os.path.join(PYTHON_STEM, 'README.rst')
 
list requires = ['ctypes'],
 
 ROOT_DIR
 
tuple SETUP_REQUIRES
 
 setup_requires
 
 SRC_DIR
 
tuple SSL_INCLUDE
 
 STATIC_LIBRARY_FILE
 
 SYSTEM
 
 target
 
 template
 
string TEST_LOADER = 'tests:Loader'
 
 test_loader
 
string TEST_RUNNER = 'tests:Runner'
 
 test_runner
 
string TEST_SUITE = 'tests'
 
 test_suite
 
tuple TESTS_REQUIRE = INSTALL_REQUIRES
 
 tests_require
 
 this_directory = path.abspath(path.dirname(__file__))
 
tuple UPB_GRPC_GENERATED_INCLUDE
 
tuple UPB_INCLUDE = (os.path.join('third_party', 'upb'),)
 
tuple UPBDEFS_GRPC_GENERATED_INCLUDE
 
 url = 'http://www.capstone-engine.org',
 
def USE_PREBUILT_GRPC_CORE
 
 v
 
 VERSION
 
 version = VERSION,
 
 VERSION_DATA
 
 VERSIONED_LIBRARY_FILE
 
string warnings_as_errors = '--warnings_as_errors'
 
 WORK_DIR = os.path.dirname(os.path.abspath(__file__))
 
tuple XXHASH_INCLUDE = (os.path.join('third_party', 'xxhash'),)
 
bool zip_safe = True,
 
tuple ZLIB_INCLUDE = (os.path.join('third_party', 'zlib'),)
 

Function Documentation

◆ _env_bool_value()

def setup._env_bool_value (   env_name,
  default 
)
private
Parses a bool option from an environment variable

Definition at line 114 of file setup.py.

◆ _get_version()

def setup._get_version ( )
private
Parse the version string from __init__.py.

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

◆ _parse_requirements()

def setup._parse_requirements (   path)
private

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

◆ _quote_build_define()

def setup._quote_build_define (   argument)
private

Definition at line 353 of file setup.py.

◆ build_libraries()

def setup.build_libraries ( )
Prepare the capstone directory for a binary distribution or installation.
Builds shared libraries and copies header files.

Will use a src/ dir if one exists in the current directory, otherwise assumes it's in the repo

Definition at line 108 of file third_party/bloaty/third_party/capstone/bindings/python/setup.py.

◆ check_linker_need_libatomic()

def setup.check_linker_need_libatomic ( )
Test if linker on system needs libatomic.

Definition at line 205 of file setup.py.

◆ clean_bins()

def setup.clean_bins ( )

◆ copy_sources()

def setup.copy_sources ( )
Copy the C sources into the source directory.
This rearranges the source files under the python distribution
directory.

Definition at line 76 of file third_party/bloaty/third_party/capstone/bindings/python/setup.py.

◆ cython_extensions_and_necessity()

def setup.cython_extensions_and_necessity ( )

Definition at line 437 of file setup.py.

◆ dummy_src()

def setup.dummy_src ( )

◆ extension_modules()

def setup.extension_modules ( )

Definition at line 247 of file tools/distrib/python/grpcio_tools/setup.py.

◆ generate_proto()

def setup.generate_proto (   source,
  require = True 
)
Invokes the Protocol Compiler to generate a _pb2.py from the given
.proto file.
Invokes the Protocol Compiler to generate a _pb2.py from the given
.proto file.  Does nothing if the output already exists and is newer than
the input.

Definition at line 18 of file third_party/bloaty/third_party/protobuf/python/compatibility_tests/v2.5.0/setup.py.

◆ GenerateUnittestProtos()

def setup.GenerateUnittestProtos ( )

◆ get_option_from_sys_argv()

def setup.get_option_from_sys_argv (   option_str)

◆ GetVersion()

def setup.GetVersion ( )
Gets the version from google/protobuf/__init__.py

Do not import google.protobuf.__init__ directly, because an installed
protobuf library may be loaded instead.

Definition at line 37 of file third_party/bloaty/third_party/protobuf/python/setup.py.

Variable Documentation

◆ __author__

string setup.__author__ = 'dlj@google.com (David L. Jones)'
private

◆ _EXT_INIT_SYMBOL

string setup._EXT_INIT_SYMBOL = None
private

Definition at line 47 of file tools/distrib/python/grpcio_tools/setup.py.

◆ _PACKAGE_PATH

setup._PACKAGE_PATH = os.path.realpath(os.path.dirname(__file__))
private

Definition at line 21 of file src/python/grpcio_admin/setup.py.

◆ _readme

setup._readme = f.read()
private

◆ _README_PATH

setup._README_PATH = os.path.join(_PACKAGE_PATH, 'README.rst')
private

Definition at line 22 of file src/python/grpcio_admin/setup.py.

◆ ABSL_INCLUDE

tuple setup.ABSL_INCLUDE = (os.path.join('third_party', 'abseil-cpp'),)

Definition at line 55 of file setup.py.

◆ ADDRESS_SORTING_INCLUDE

tuple setup.ADDRESS_SORTING_INCLUDE
Initial value:
1 = (os.path.join('third_party', 'address_sorting',
2  'include'),)

Definition at line 56 of file setup.py.

◆ api_implementation_init_symbol

string setup.api_implementation_init_symbol = 'init_api_implementation'

Definition at line 218 of file third_party/protobuf/python/setup.py.

◆ api_implementation_link_args

list setup.api_implementation_link_args = None

Definition at line 214 of file third_party/protobuf/python/setup.py.

◆ asm_files

setup.asm_files = []

Definition at line 347 of file setup.py.

◆ asm_key

string setup.asm_key = ''

Definition at line 365 of file setup.py.

◆ author

string setup.author = 'Nguyen Anh Quynh',

Definition at line 545 of file setup.py.

◆ author_email

string setup.author_email = 'aquynh@gmail.com',

Definition at line 546 of file setup.py.

◆ boringssl_asm_platform

setup.boringssl_asm_platform
Initial value:
1 = BUILD_OVERRIDE_BORING_SSL_ASM_PLATFORM if BUILD_OVERRIDE_BORING_SSL_ASM_PLATFORM else util.get_platform(
2  )

Definition at line 367 of file setup.py.

◆ BUILD_DIR

setup.BUILD_DIR

◆ BUILD_OVERRIDE_BORING_SSL_ASM_PLATFORM

setup.BUILD_OVERRIDE_BORING_SSL_ASM_PLATFORM
Initial value:
1 = os.environ.get(
2  'GRPC_BUILD_OVERRIDE_BORING_SSL_ASM_PLATFORM', '')

Definition at line 127 of file setup.py.

◆ BUILD_WITH_BORING_SSL_ASM

def setup.BUILD_WITH_BORING_SSL_ASM
Initial value:
1 = _env_bool_value('GRPC_BUILD_WITH_BORING_SSL_ASM',
2  'True')

Definition at line 119 of file setup.py.

◆ BUILD_WITH_CYTHON

def setup.BUILD_WITH_CYTHON = _env_bool_value('GRPC_PYTHON_BUILD_WITH_CYTHON', 'False')

Definition at line 135 of file setup.py.

◆ BUILD_WITH_STATIC_LIBSTDCXX

def setup.BUILD_WITH_STATIC_LIBSTDCXX
Initial value:
2  'GRPC_PYTHON_BUILD_WITH_STATIC_LIBSTDCXX', 'False')

Definition at line 172 of file setup.py.

◆ BUILD_WITH_SYSTEM_ABSL

setup.BUILD_WITH_SYSTEM_ABSL = os.environ.get('GRPC_PYTHON_BUILD_SYSTEM_ABSL', False)

Definition at line 163 of file setup.py.

◆ BUILD_WITH_SYSTEM_CARES

def setup.BUILD_WITH_SYSTEM_CARES
Initial value:
1 = _env_bool_value('GRPC_PYTHON_BUILD_SYSTEM_CARES',
2  'False')

Definition at line 152 of file setup.py.

◆ BUILD_WITH_SYSTEM_OPENSSL

def setup.BUILD_WITH_SYSTEM_OPENSSL
Initial value:
1 = _env_bool_value('GRPC_PYTHON_BUILD_SYSTEM_OPENSSL',
2  'False')

Definition at line 140 of file setup.py.

◆ BUILD_WITH_SYSTEM_RE2

def setup.BUILD_WITH_SYSTEM_RE2 = _env_bool_value('GRPC_PYTHON_BUILD_SYSTEM_RE2', 'False')

Definition at line 158 of file setup.py.

◆ BUILD_WITH_SYSTEM_ZLIB

def setup.BUILD_WITH_SYSTEM_ZLIB
Initial value:
1 = _env_bool_value('GRPC_PYTHON_BUILD_SYSTEM_ZLIB',
2  'False')

Definition at line 146 of file setup.py.

◆ CARES_INCLUDE

tuple setup.CARES_INCLUDE
Initial value:
1 = (
2  os.path.join('third_party', 'cares', 'cares', 'include'),
3  os.path.join('third_party', 'cares'),
4  os.path.join('third_party', 'cares', 'cares'),
5 )

Definition at line 58 of file setup.py.

◆ CC_FILES

list setup.CC_FILES = [os.path.normpath(cc_file) for cc_file in protoc_lib_deps.CC_FILES]

Definition at line 194 of file tools/distrib/python/grpcio_tools/setup.py.

◆ CC_INCLUDE

setup.CC_INCLUDE = os.path.normpath(protoc_lib_deps.CC_INCLUDE)

Definition at line 198 of file tools/distrib/python/grpcio_tools/setup.py.

◆ CFLAGS

setup.CFLAGS = tuple(EXTRA_COMPILE_ARGS)

Definition at line 414 of file setup.py.

◆ CLASSIFIERS

list setup.CLASSIFIERS
Initial value:
1 = [
2  'Development Status :: 5 - Production/Stable',
3  'Programming Language :: Python',
4  'Programming Language :: Python :: 3',
5  'Programming Language :: Python :: 3.5',
6  'Programming Language :: Python :: 3.6',
7  'Programming Language :: Python :: 3.7',
8  'Programming Language :: Python :: 3.8',
9  'Programming Language :: Python :: 3.9',
10  'Programming Language :: Python :: 3.10',
11  'License :: OSI Approved :: Apache Software License',
12 ]

Definition at line 100 of file setup.py.

◆ classifiers

list setup.classifiers
Initial value:
1 = [
2  'License :: OSI Approved :: BSD License',
3  'Programming Language :: Python :: 2',
4  'Programming Language :: Python :: 2.7',
5  'Programming Language :: Python :: 3',
6  'Programming Language :: Python :: 3.4',
7  'Programming Language :: Python :: 3.5',
8  'Programming Language :: Python :: 3.6',
9  'Programming Language :: Python :: 3.7',
10  ],

Definition at line 549 of file setup.py.

◆ cmdclass

setup.cmdclass = cmdclass,

Definition at line 559 of file setup.py.

◆ COMMAND_CLASS

dictionary setup.COMMAND_CLASS
Initial value:
1 = {
3  'build_project_metadata': commands.BuildProjectMetadata,
4  'build_py': commands.BuildPy,
5  'build_ext': commands.BuildExt,
6  'gather': commands.Gather,
7  'clean': commands.Clean,
8 }

Definition at line 512 of file setup.py.

◆ compile_static_ext

def setup.compile_static_ext = get_option_from_sys_argv('--compile_static_extension')

◆ CORE_C_FILES

setup.CORE_C_FILES = tuple(grpc_core_dependencies.CORE_SOURCE_FILES)

Definition at line 285 of file setup.py.

◆ CORE_INCLUDE

tuple setup.CORE_INCLUDE
Initial value:
1 = (
2  'include',
3  '.',
4 )

Definition at line 51 of file setup.py.

◆ credentials_dir

setup.credentials_dir = os.path.join(PYTHON_STEM, 'grpc', '_cython', '_credentials')

Definition at line 522 of file setup.py.

◆ CYTHON_EXTENSION_MODULE_NAMES

tuple setup.CYTHON_EXTENSION_MODULE_NAMES = ('grpc._cython.cygrpc',)

Definition at line 281 of file setup.py.

◆ CYTHON_EXTENSION_PACKAGE_NAMES

tuple setup.CYTHON_EXTENSION_PACKAGE_NAMES = ()

Definition at line 279 of file setup.py.

◆ CYTHON_HELPER_C_FILES

tuple setup.CYTHON_HELPER_C_FILES = ()

Definition at line 283 of file setup.py.

◆ DEFINE_MACROS

tuple setup.DEFINE_MACROS = (('_WIN32_WINNT', 0x600),)

Definition at line 346 of file setup.py.

◆ description

string setup.description = 'Capstone disassembly engine',

Definition at line 544 of file setup.py.

◆ DISABLE_LIBC_COMPATIBILITY

def setup.DISABLE_LIBC_COMPATIBILITY
Initial value:
2  'GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY', 'False')

Definition at line 191 of file setup.py.

◆ download_url

setup.download_url

◆ ENABLE_CYTHON_TRACING

def setup.ENABLE_CYTHON_TRACING
Initial value:
1 = _env_bool_value('GRPC_PYTHON_ENABLE_CYTHON_TRACING',
2  'False')

Definition at line 196 of file setup.py.

◆ ENABLE_DOCUMENTATION_BUILD

def setup.ENABLE_DOCUMENTATION_BUILD
Initial value:
2  'GRPC_PYTHON_ENABLE_DOCUMENTATION_BUILD', 'False')

Definition at line 201 of file setup.py.

◆ encoding

setup.encoding

◆ entry_points

setup.entry_points

◆ EXCLUDE_PYTHON_FILES

list setup.EXCLUDE_PYTHON_FILES = ['generated_file_import_test.py', 'build.py']

Definition at line 22 of file tools/distrib/python/xds_protos/setup.py.

◆ ext_module_list

list setup.ext_module_list = []

◆ ext_modules

setup.ext_modules

Definition at line 551 of file setup.py.

◆ EXTENSION_INCLUDE_DIRECTORIES

tuple setup.EXTENSION_INCLUDE_DIRECTORIES
Initial value:
1 = ((PYTHON_STEM,) + CORE_INCLUDE + ABSL_INCLUDE +
2  ADDRESS_SORTING_INCLUDE + CARES_INCLUDE +
3  RE2_INCLUDE + SSL_INCLUDE + UPB_INCLUDE +
4  UPB_GRPC_GENERATED_INCLUDE +
5  UPBDEFS_GRPC_GENERATED_INCLUDE +
6  XXHASH_INCLUDE + ZLIB_INCLUDE)

Definition at line 312 of file setup.py.

◆ EXTENSION_LIBRARIES

tuple setup.EXTENSION_LIBRARIES = ()

Definition at line 319 of file setup.py.

◆ extra_compile_args

list setup.extra_compile_args = []

◆ EXTRA_COMPILE_ARGS

setup.EXTRA_COMPILE_ARGS = shlex.split(EXTRA_ENV_COMPILE_ARGS)

Definition at line 273 of file setup.py.

◆ EXTRA_ENV_COMPILE_ARGS

string setup.EXTRA_ENV_COMPILE_ARGS = os.environ.get('GRPC_PYTHON_CFLAGS', None)

Definition at line 235 of file setup.py.

◆ EXTRA_ENV_LINK_ARGS

string setup.EXTRA_ENV_LINK_ARGS = os.environ.get('GRPC_PYTHON_LDFLAGS', None)

Definition at line 236 of file setup.py.

◆ EXTRA_LINK_ARGS

setup.EXTRA_LINK_ARGS = shlex.split(EXTRA_ENV_LINK_ARGS)

Definition at line 274 of file setup.py.

◆ extra_objects

list setup.extra_objects = None

◆ extras_require

setup.extras_require

Definition at line 557 of file setup.py.

◆ EXTRAS_REQUIRES

dictionary setup.EXTRAS_REQUIRES
Initial value:
1 = {
2  'protobuf': 'grpcio-tools>={version}'.format(version=grpc_version.VERSION),
3 }

Definition at line 490 of file setup.py.

◆ GRPC_PYTHON_PROTO_RESOURCES_NAME

string setup.GRPC_PYTHON_PROTO_RESOURCES_NAME = '_proto'

Definition at line 202 of file tools/distrib/python/grpcio_tools/setup.py.

◆ GRPC_PYTHON_TOOLS_PACKAGE

string setup.GRPC_PYTHON_TOOLS_PACKAGE = 'grpc_tools'

Definition at line 201 of file tools/distrib/python/grpcio_tools/setup.py.

◆ HEADERS_DIR

setup.HEADERS_DIR

◆ HERE

setup.HERE = os.path.dirname(os.path.abspath(__file__))

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

◆ idx

setup.idx

◆ include_package_data

setup.include_package_data = True,

◆ INSTALL_REQUIRES

list setup.INSTALL_REQUIRES
Initial value:
1 = (
2  "six>=1.5.2",
3  "futures>=2.2.0; python_version<'3.2'",
4  "enum34>=1.0.4; python_version<'3.4'",
5 )

Definition at line 485 of file setup.py.

◆ install_requires

list setup.install_requires = ['six>=1.9', 'setuptools']

Definition at line 556 of file setup.py.

◆ IS_64BITS

setup.IS_64BITS

◆ IS_WINDOWS

setup.IS_WINDOWS = sys.platform.startswith("win")

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

◆ k

setup.k

◆ LDFLAGS

setup.LDFLAGS = tuple(EXTRA_LINK_ARGS)

Definition at line 413 of file setup.py.

◆ libraries

list setup.libraries = ['protobuf']

◆ LIBRARY_FILE

setup.LIBRARY_FILE

◆ LIBS_DIR

setup.LIBS_DIR

◆ LICENSE

string setup.LICENSE = 'Apache License 2.0'

Definition at line 98 of file setup.py.

◆ license

setup.license

Definition at line 548 of file setup.py.

◆ line

setup.line

◆ lines

setup.lines

◆ LINUX_AARCH64

string setup.LINUX_AARCH64 = 'linux-aarch64'

Definition at line 371 of file setup.py.

◆ LINUX_ARM

string setup.LINUX_ARM = 'linux-arm'

Definition at line 370 of file setup.py.

◆ LINUX_X86_64

string setup.LINUX_X86_64 = 'linux-x86_64'

Definition at line 369 of file setup.py.

◆ LONG_DESCRIPTION

setup.LONG_DESCRIPTION = f.read()

Definition at line 26 of file tools/distrib/python/xds_protos/setup.py.

◆ long_description

setup.long_description

Definition at line 550 of file setup.py.

◆ long_description_content_type

setup.long_description_content_type

◆ mac_target

setup.mac_target = sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET')

Definition at line 427 of file setup.py.

◆ maintainer

setup.maintainer

◆ maintainer_email

setup.maintainer_email

◆ message_extra_link_args

list setup.message_extra_link_args = None

Definition at line 213 of file third_party/protobuf/python/setup.py.

◆ message_init_symbol

string setup.message_init_symbol = 'init_message'

Definition at line 217 of file third_party/protobuf/python/setup.py.

◆ msvcr

setup.msvcr = cygwinccompiler.get_msvcr()[0]

Definition at line 266 of file setup.py.

◆ name

string setup.name = 'capstone',

Definition at line 542 of file setup.py.

◆ namespace_packages

setup.namespace_packages

◆ PACKAGE_DATA

dictionary setup.PACKAGE_DATA
Initial value:
1 = {
2  # Binaries that may or may not be present in the final installation, but are
3  # mentioned here for completeness.
4  'grpc._cython': [
5  '_credentials/roots.pem',
6  '_windows/grpc_c.32.python',
7  '_windows/grpc_c.64.python',
8  ],
9 }

Definition at line 530 of file setup.py.

◆ package_data

def setup.package_data
Initial value:
1 = {
2  "capstone": ["lib/*", "include/capstone/*"],
3  }

Definition at line 554 of file setup.py.

◆ package_dir

setup.package_dir

Definition at line 553 of file setup.py.

◆ PACKAGE_DIRECTORIES

dictionary setup.PACKAGE_DIRECTORIES
Initial value:
1 = {
2  '': PYTHON_STEM,
3 }

Definition at line 481 of file setup.py.

◆ PACKAGES

setup.PACKAGES = setuptools.find_packages(PYTHON_STEM)

Definition at line 539 of file setup.py.

◆ packages

list setup.packages = ['capstone'],

Definition at line 552 of file setup.py.

◆ PROTO_FILES

list setup.PROTO_FILES
Initial value:
1 = [
2  os.path.normpath(proto_file) for proto_file in protoc_lib_deps.PROTO_FILES
3 ]

Definition at line 195 of file tools/distrib/python/grpcio_tools/setup.py.

◆ PROTO_INCLUDE

setup.PROTO_INCLUDE = os.path.normpath(protoc_lib_deps.PROTO_INCLUDE)

Definition at line 199 of file tools/distrib/python/grpcio_tools/setup.py.

◆ protoc

string setup.protoc = os.environ['PROTOC']

◆ provides

list setup.provides = ['capstone'],

◆ PY3

int setup.PY3 = 3

Definition at line 49 of file setup.py.

◆ pymodinit

string setup.pymodinit
Initial value:
1 = 'extern "C" __attribute__((visibility ("default"))) {}'.format(
2  pymodinit_type)

Definition at line 417 of file setup.py.

◆ pymodinit_type

string setup.pymodinit_type = 'PyObject*' if PY3 else 'void'

Definition at line 416 of file setup.py.

◆ python_requires

string setup.python_requires = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',

Definition at line 555 of file setup.py.

◆ PYTHON_STEM

setup.PYTHON_STEM = os.path.join('src', 'python', 'grpcio')

Definition at line 50 of file setup.py.

◆ RE2_INCLUDE

tuple setup.RE2_INCLUDE = (os.path.join('third_party', 're2'),)

Definition at line 71 of file setup.py.

◆ README

setup.README = os.path.join(PYTHON_STEM, 'README.rst')

Definition at line 81 of file setup.py.

◆ requires

list setup.requires = ['ctypes'],

◆ ROOT_DIR

setup.ROOT_DIR

◆ SETUP_REQUIRES

list setup.SETUP_REQUIRES
Initial value:
1 = INSTALL_REQUIRES + (
2  'Sphinx~=1.8.1',
3  'six>=1.10',
4 ) if ENABLE_DOCUMENTATION_BUILD else ()

Definition at line 494 of file setup.py.

◆ setup_requires

setup.setup_requires

Definition at line 558 of file setup.py.

◆ SRC_DIR

setup.SRC_DIR

◆ SSL_INCLUDE

tuple setup.SSL_INCLUDE
Initial value:
1 = (os.path.join('third_party', 'boringssl-with-bazel', 'src',
2  'include'),)

Definition at line 72 of file setup.py.

◆ STATIC_LIBRARY_FILE

setup.STATIC_LIBRARY_FILE

◆ SYSTEM

setup.SYSTEM

◆ target

setup.target

◆ template

setup.template

Definition at line 47 of file setup.py.

◆ TEST_LOADER

string setup.TEST_LOADER = 'tests:Loader'

Definition at line 90 of file src/python/grpcio_tests/setup.py.

◆ test_loader

setup.test_loader

Definition at line 109 of file src/python/grpcio_tests/setup.py.

◆ TEST_RUNNER

string setup.TEST_RUNNER = 'tests:Runner'

Definition at line 91 of file src/python/grpcio_tests/setup.py.

◆ test_runner

setup.test_runner

Definition at line 110 of file src/python/grpcio_tests/setup.py.

◆ TEST_SUITE

string setup.TEST_SUITE = 'tests'

Definition at line 89 of file src/python/grpcio_tests/setup.py.

◆ test_suite

setup.test_suite

Definition at line 108 of file src/python/grpcio_tests/setup.py.

◆ TESTS_REQUIRE

tuple setup.TESTS_REQUIRE = INSTALL_REQUIRES

Definition at line 92 of file src/python/grpcio_tests/setup.py.

◆ tests_require

setup.tests_require

Definition at line 107 of file src/python/grpcio_tests/setup.py.

◆ this_directory

setup.this_directory = path.abspath(path.dirname(__file__))

◆ UPB_GRPC_GENERATED_INCLUDE

tuple setup.UPB_GRPC_GENERATED_INCLUDE
Initial value:
1 = (os.path.join('src', 'core', 'ext',
2  'upb-generated'),)

Definition at line 75 of file setup.py.

◆ UPB_INCLUDE

tuple setup.UPB_INCLUDE = (os.path.join('third_party', 'upb'),)

Definition at line 74 of file setup.py.

◆ UPBDEFS_GRPC_GENERATED_INCLUDE

tuple setup.UPBDEFS_GRPC_GENERATED_INCLUDE
Initial value:
1 = (os.path.join('src', 'core', 'ext',
2  'upbdefs-generated'),)

Definition at line 77 of file setup.py.

◆ url

string setup.url = 'http://www.capstone-engine.org',

Definition at line 547 of file setup.py.

◆ USE_PREBUILT_GRPC_CORE

def setup.USE_PREBUILT_GRPC_CORE
Initial value:
1 = _env_bool_value('GRPC_PYTHON_USE_PREBUILT_GRPC_CORE',
2  'False')

Definition at line 186 of file setup.py.

◆ v

setup.v

◆ VERSION

setup.VERSION

◆ version

setup.version = VERSION,

Definition at line 543 of file setup.py.

◆ VERSION_DATA

setup.VERSION_DATA

◆ VERSIONED_LIBRARY_FILE

setup.VERSIONED_LIBRARY_FILE

◆ warnings_as_errors

string setup.warnings_as_errors = '--warnings_as_errors'

◆ WORK_DIR

setup.WORK_DIR = os.path.dirname(os.path.abspath(__file__))

Definition at line 21 of file tools/distrib/python/xds_protos/setup.py.

◆ XXHASH_INCLUDE

tuple setup.XXHASH_INCLUDE = (os.path.join('third_party', 'xxhash'),)

Definition at line 79 of file setup.py.

◆ zip_safe

setup.zip_safe = True,

◆ ZLIB_INCLUDE

tuple setup.ZLIB_INCLUDE = (os.path.join('third_party', 'zlib'),)

Definition at line 80 of file setup.py.

http2_test_server.format
format
Definition: http2_test_server.py:118
commands.SphinxDocumentation
Definition: commands.py:79
commands.BuildPy
Definition: commands.py:123
commands.BuildExt
Definition: commands.py:200
setup._env_bool_value
def _env_bool_value(env_name, default)
Definition: setup.py:114
commands.Gather
Definition: commands.py:288
commands.BuildProjectMetadata
Definition: commands.py:104
commands.Clean
Definition: commands.py:313


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