File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools" , " setuptools-grpc" ]
2+ requires = [ " setuptools>=61" ,
3+ " wheel" ,
4+ " setuptools-grpc" ,
5+ " grpcio-tools" ]
36build-backend = " setuptools.build_meta"
47
58[project ]
@@ -12,7 +15,7 @@ authors = [
1215 {name = " MLCommons" , email = " chakra@mlcommons.org" },
1316]
1417dependencies = [
15- " protobuf" ,
18+ " protobuf==5.* " ,
1619 " graphviz" ,
1720 " networkx" ,
1821 " pydot" ,
Original file line number Diff line number Diff line change 1- from distutils .command .build import build
1+ from setuptools .command .build import build as _build
22
33from setuptools import setup
44
55
6- class build_grpc ( build ):
6+ class custom_build ( _build ):
77 """
88 Custom build class to include gRPC build commands.
99
@@ -14,7 +14,7 @@ class build_grpc(build):
1414 sub_commands (list): List of sub-commands to be executed during the build process.
1515 """
1616
17- sub_commands = [("build_grpc" , None )] + build .sub_commands
17+ sub_commands = [("build_grpc" , None )] + _build .sub_commands
1818
1919
20- setup (cmdclass = {"build" : build_grpc })
20+ setup (cmdclass = {"build" : custom_build })
You can’t perform that action at this time.
0 commit comments