Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def cython_extensions_and_necessity():
os.path.join("etc", "roots.pem"), os.path.join(credentials_dir, "roots.pem")
)

if __name__ == '__main__':
if __name__ == "__main__":
setuptools.setup(
classifiers=CLASSIFIERS,
ext_modules=CYTHON_EXTENSION_MODULES,
Expand Down
21 changes: 9 additions & 12 deletions src/python/grpcio_channelz/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,14 @@ def run(self):
pass


CLASSIFIERS = (
[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
+ [
f"Programming Language :: Python :: {x}"
for x in python_version.SUPPORTED_PYTHON_VERSIONS
]
)
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
] + [
f"Programming Language :: Python :: {x}"
for x in python_version.SUPPORTED_PYTHON_VERSIONS
]


INSTALL_REQUIRES = (
Expand Down Expand Up @@ -83,7 +80,7 @@ def run(self):
}


if __name__ == '__main__':
if __name__ == "__main__":
setuptools.setup(
classifiers=CLASSIFIERS,
python_requires=f">={python_version.MIN_PYTHON_VERSION}",
Expand Down
21 changes: 9 additions & 12 deletions src/python/grpcio_health_checking/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"""Setup module for the GRPC Python package's optional health checking."""

import os
import sys

import setuptools
import sys

# Manually insert the source directory into the Python path for local module
# imports to succeed
Expand Down Expand Up @@ -44,17 +44,14 @@ def run(self):
pass


CLASSIFIERS = (
[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
+ [
f"Programming Language :: Python :: {x}"
for x in python_version.SUPPORTED_PYTHON_VERSIONS
]
)
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
] + [
f"Programming Language :: Python :: {x}"
for x in python_version.SUPPORTED_PYTHON_VERSIONS
]

PACKAGE_DIRECTORIES = {
"": ".",
Expand Down
19 changes: 8 additions & 11 deletions src/python/grpcio_reflection/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,14 @@ def run(self):
pass


CLASSIFIERS = (
[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
+ [
f"Programming Language :: Python :: {x}"
for x in python_version.SUPPORTED_PYTHON_VERSIONS
]
)
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
] + [
f"Programming Language :: Python :: {x}"
for x in python_version.SUPPORTED_PYTHON_VERSIONS
]


INSTALL_REQUIRES = (
Expand Down
23 changes: 10 additions & 13 deletions src/python/grpcio_status/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"""Setup module for the GRPC Python package's status mapping."""

import os
import sys

import setuptools
import sys

# Manually insert the source directory into the Python path for local module
# imports to succeed
Expand Down Expand Up @@ -44,17 +44,14 @@ def run(self):
pass


CLASSIFIERS = (
[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
+ [
f"Programming Language :: Python :: {x}"
for x in python_version.SUPPORTED_PYTHON_VERSIONS
]
)
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
] + [
f"Programming Language :: Python :: {x}"
for x in python_version.SUPPORTED_PYTHON_VERSIONS
]


INSTALL_REQUIRES = (
Expand All @@ -79,7 +76,7 @@ def run(self):
"build_package_protos": _NoOpCommand,
}

if __name__ == '__main__':
if __name__ == "__main__":
setuptools.setup(
classifiers=CLASSIFIERS,
python_requires=f">={python_version.MIN_PYTHON_VERSION}",
Expand Down
2 changes: 1 addition & 1 deletion src/python/grpcio_testing/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def run(self):
"preprocess": _NoOpCommand,
}

if __name__ == '__main__':
if __name__ == "__main__":
setuptools.setup(
install_requires=INSTALL_REQUIRES,
cmdclass=COMMAND_CLASS,
Expand Down
1 change: 0 additions & 1 deletion tools/distrib/python/grpcio_tools/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@

import grpc_version


_EXT_INIT_SYMBOL = "PyInit__protoc_compiler"

_parallel_compile_patch.monkeypatch_compile_maybe()
Expand Down