14 """Setup module for admin interface in gRPC Python."""
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__)))
31 'Development Status :: 5 - Production/Stable',
32 'Programming Language :: Python',
33 'Programming Language :: Python :: 3',
34 'License :: OSI Approved :: Apache Software License',
37 PACKAGE_DIRECTORIES = {
42 'grpcio-channelz>={version}'.
format(version=grpc_version.VERSION),
43 'grpcio-csds>={version}'.
format(version=grpc_version.VERSION),
45 SETUP_REQUIRES = INSTALL_REQUIRES
47 setuptools.setup(name=
'grpcio-admin',
48 version=grpc_version.VERSION,
49 license=
'Apache License 2.0',
50 description=
'a collection of admin services',
51 long_description=
open(_README_PATH,
'r').
read(),
52 author=
'The gRPC Authors',
53 author_email=
'grpc-io@googlegroups.com',
54 classifiers=CLASSIFIERS,
55 url=
'https://grpc.io',
56 package_dir=PACKAGE_DIRECTORIES,
57 packages=setuptools.find_packages(
'.'),
58 python_requires=
'>=3.6',
59 install_requires=INSTALL_REQUIRES,
60 setup_requires=SETUP_REQUIRES)