forked from netsaj/python-protobuf-compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (38 loc) · 1.23 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import pathlib
from setuptools import setup
from protobuf_compiler.main import __version__
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
setup(
name='protobuf_compiler',
version=__version__,
packages=['protobuf_compiler'],
url='https://github.com/netsaj/python-protobuf-compiler',
license='MIT',
long_description=README,
long_description_content_type='text/markdown',
author='Fabio Moreno',
author_email='[email protected]',
description='compile all protobuf files and create a single package distribution for can be installed with pip',
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
],
install_requires=[
'grpcio==1.18.0',
'grpcio-tools==1.18.0',
'colorama==0.3.3',
'termcolor==1.1.0',
'tqdm==4.31.1'
],
entry_points={
'console_scripts': [
'protopy = protobuf_compiler.main:main',
'protobuf-compiler = protobuf_compiler.main:main',
],
},
scripts=['protopy.py', 'protobuf-compiler.py']
)