14 """Setup module for the GRPC Python package's Channelz."""
21 _PACKAGE_PATH = os.path.realpath(os.path.dirname(__file__))
22 _README_PATH = os.path.join(_PACKAGE_PATH,
'README.rst')
25 os.chdir(os.path.dirname(os.path.abspath(__file__)))
48 'Development Status :: 5 - Production/Stable',
49 'Programming Language :: Python',
50 'Programming Language :: Python :: 3',
51 'Programming Language :: Python :: 3.4',
52 'Programming Language :: Python :: 3.5',
53 'Programming Language :: Python :: 3.6',
54 'Programming Language :: Python :: 3.7',
55 'Programming Language :: Python :: 3.8',
56 'Programming Language :: Python :: 3.9',
57 'Programming Language :: Python :: 3.10',
58 'License :: OSI Approved :: Apache Software License',
61 PACKAGE_DIRECTORIES = {
67 'grpcio>={version}'.
format(version=grpc_version.VERSION),
71 import channelz_commands
as _channelz_commands
74 SETUP_REQUIRES = (
'grpcio-tools=={version}'.
format(
75 version=grpc_version.VERSION),)
78 'preprocess': _channelz_commands.Preprocess,
79 'build_package_protos': _channelz_commands.BuildPackageProtos,
85 'preprocess': _NoOpCommand,
86 'build_package_protos': _NoOpCommand,
90 name=
'grpcio-channelz',
91 version=grpc_version.VERSION,
92 license=
'Apache License 2.0',
93 description=
'Channel Level Live Debug Information Service for gRPC',
94 long_description=
open(_README_PATH,
'r').
read(),
95 author=
'The gRPC Authors',
96 author_email=
'grpc-io@googlegroups.com',
97 classifiers=CLASSIFIERS,
98 url=
'https://grpc.io',
99 package_dir=PACKAGE_DIRECTORIES,
100 packages=setuptools.find_packages(
'.'),
101 python_requires=
'>=3.6',
102 install_requires=INSTALL_REQUIRES,
103 setup_requires=SETUP_REQUIRES,
104 cmdclass=COMMAND_CLASS)