mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
17 lines
317 B
Python
Executable file
17 lines
317 B
Python
Executable file
#!/usr/bin/env python
|
|
"""
|
|
This is intended to be run from manim/grpc
|
|
"""
|
|
|
|
import os
|
|
|
|
CMD_STRING = """
|
|
poetry run python \
|
|
-m grpc_tools.protoc \
|
|
-I./proto \
|
|
--python_out=./gen \
|
|
--grpc_python_out=./gen \
|
|
./proto/frameserver.proto \
|
|
./proto/renderserver.proto
|
|
"""
|
|
os.system(CMD_STRING)
|