You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-18Lines changed: 16 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -109,16 +109,30 @@ As the schema and API stabilizes a mid-term goal might be to replace PyMC `BaseT
109
109
Getting rid of `MultiTrace` was a [long-term goal](https://github.com/pymc-devs/pymc/issues/4372#issuecomment-770100410) behind making `pm.sample(return_inferencedata=True)` the default.
110
110
111
111
## Development
112
-
First clone the repository and install `mcbackend` locally:
112
+
113
+
First clone the repository and set up a development environment containing the protobuf compiler.
To compile the `*.proto` files for languages other than Python, check the [ProtocolBuffers documentation](https://developers.google.com/protocol-buffers/docs/tutorials).
124
+
125
+
The following script compiles them for Python using the [`betterproto`](https://github.com/danielgtaylor/python-betterproto) compiler plugin to get nice-looking dataclasses.
126
+
It also copies the generated files to the right place in `mcbackend`.
If you don't already have it, first install the protobuf compiler:
134
-
```bash
135
-
conda install protobuf
136
-
pip install --pre "betterproto[compiler]"
137
-
```
138
-
139
-
To compile the `*.proto` files for languages other than Python, check the [ProtocolBuffers documentation](https://developers.google.com/protocol-buffers/docs/tutorials).
140
-
141
-
The following script compiles them for Python using the [`betterproto`](https://github.com/danielgtaylor/python-betterproto) compiler plugin to get nice-looking dataclasses.
142
-
It also copies the generated files to the right place in `mcbackend`.
0 commit comments