File tree Expand file tree Collapse file tree 6 files changed +35
-44
lines changed Expand file tree Collapse file tree 6 files changed +35
-44
lines changed Original file line number Diff line number Diff line change 11## Upcoming
22
3+ - Switch from setup.py to pyproject.toml and setup.cfg per https://packaging.python.org/tutorials/packaging-projects/
4+
35## 2.9
46
57- [ Rename master branch to main] ( https://github.com/github/renaming )
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [
3+ " setuptools>=42" ,
4+ " wheel" ,
5+ ]
6+ build-backend = " setuptools.build_meta"
Original file line number Diff line number Diff line change 55 "extraPaths" : [" test/generated" ],
66 "include" : [
77 " mypy_protobuf/" ,
8- " setup.py" ,
98 " test/"
109 ],
1110 "exclude" : [
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ MYPY_PROTOBUF_VENV=venv_$PY_VER_MYPY_PROTOBUF
7474 test " $( protoc-gen-mypy --version) " = " mypy-protobuf 2.9"
7575
7676 # Run mypy on mypy-protobuf internal code for developers to catch issues
77- FILES=" mypy_protobuf/main.py setup.py "
77+ FILES=" mypy_protobuf/main.py"
7878 $MYPY_VENV /bin/mypy --strict --custom-typeshed-dir=$CUSTOM_TYPESHED_DIR --python-executable=$MYPY_PROTOBUF_VENV /bin/python3 --python-version=$PY_VER_MYPY_PROTOBUF_SHORT --pretty --show-error-codes $FILES
7979
8080 # Generate protos
Original file line number Diff line number Diff line change 1+ [metadata]
2+ name = mypy-protobuf
3+ version = attr: mypy_protobuf.main.__version__
4+ description = Generate mypy stub files from protobuf specs
5+ keywords = mypy proto dropbox
6+ license = Apache License 2.0
7+ author = Nipunn Koorapati
8+ 9+ url = https://github.com/dropbox/mypy-protobuf
10+ download_url = https://github.com/dropbox/mypy-protobuf/releases
11+
12+ [options]
13+ py_modules =
14+ mypy_protobuf
15+ mypy_protobuf.main
16+ mypy_protobuf.extensions_pb2
17+ install_requires =
18+ protobuf>=3.17.3
19+ types-protobuf>=3.17.3
20+ grpcio-tools>=1.38.1
21+ python_requires = >=3.6
22+
23+ [options.entry_points]
24+ console_scripts =
25+ protoc-gen-mypy = mypy_protobuf.main:main
26+ protoc-gen-mypy_grpc = mypy_protobuf.main:grpc
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments