Doc updates, refactor code layout, python package

This commit is contained in:
Daniel G. Taylor
2019-10-18 21:07:12 -07:00
parent 811b54cabb
commit 7fe64ad8fe
9 changed files with 270 additions and 22 deletions

20
setup.py Normal file
View File

@@ -0,0 +1,20 @@
from setuptools import setup, find_packages
setup(
name="betterproto",
version="1.0",
description="A better Protobuf / gRPC generator & library",
url="http://github.com/danielgtaylor/python-betterproto",
author="Daniel G. Taylor",
author_email="danielgtaylor@gmail.com",
license="MIT",
entry_points={
"console_scripts": ["protoc-gen-python_betterproto=betterproto.plugin:main"]
},
packages=find_packages(
exclude=["tests", "*.tests", "*.tests.*", "output", "output.*"]
),
package_data={"betterproto": ["py.typed", "templates"]},
install_requires=["grpclib", "protobuf"],
zip_safe=False,
)