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
+27-6Lines changed: 27 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ This project exists because I am unhappy with the state of the official Google p
40
40
41
41
This project is a reimplementation from the ground up focused on idiomatic modern Python to help fix some of the above. While it may not be a 1:1 drop-in replacement due to changed method names and call patterns, the wire format is identical.
42
42
43
-
## Installation & Getting Started
43
+
## Installation
44
44
45
45
First, install the package. Note that the `[compiler]` feature flag tells it to install extra dependencies only needed by the `protoc` plugin:
Join us on [Slack](https://join.slack.com/t/betterproto/shared_invite/zt-f0n0uolx-iN8gBNrkPxtKHTLpG3o1OQ)!
302
308
303
-
First, make sure you have Python 3.6+ and `poetry` installed, along with the official [Protobuf Compiler](https://github.com/protocolbuffers/protobuf/releases) for your platform. Then:
309
+
### Requirements
310
+
311
+
- Python (3.6 or higher)
312
+
313
+
-[protoc](https://grpc.io/docs/protoc-installation/) (3.12 or higher)
314
+
*Needed to compile `.proto` files and run the tests*
*Needed to install dependencies in a virtual environment*
318
+
319
+
- make ([ubuntu](https://www.howtoinstall.me/ubuntu/18-04/make/), [windows](https://stackoverflow.com/questions/32127524/how-to-install-and-use-make-in-windows), [mac](https://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/))
320
+
321
+
*Needed to conveniently run development tasks.*
322
+
*Alternatively, manually run the commands defined in the [Makefile](./Makefile)*
323
+
324
+
### Setup
304
325
305
326
```sh
306
327
# Get set up with the virtual env & dependencies
@@ -310,7 +331,7 @@ poetry install
310
331
poetry shell
311
332
```
312
333
313
-
To benefit from the collection of standard development tasks ensure you have make installed and run `make help` to see available tasks.
334
+
Run `make help` to see all available development tasks.
0 commit comments