|
|
@ -37,6 +37,8 @@ from subprocess import PIPE |
|
|
|
_PACKAGE_PATH = os.path.realpath(os.path.dirname(__file__)) |
|
|
|
_PACKAGE_PATH = os.path.realpath(os.path.dirname(__file__)) |
|
|
|
_README_PATH = os.path.join(_PACKAGE_PATH, 'README.rst') |
|
|
|
_README_PATH = os.path.join(_PACKAGE_PATH, 'README.rst') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_TEST_CLASS = "grpc_tools.test.protoc_test.ProtocTest" |
|
|
|
|
|
|
|
|
|
|
|
os.chdir(os.path.dirname(os.path.abspath(__file__))) |
|
|
|
os.chdir(os.path.dirname(os.path.abspath(__file__))) |
|
|
|
sys.path.insert(0, os.path.abspath('.')) |
|
|
|
sys.path.insert(0, os.path.abspath('.')) |
|
|
|
|
|
|
|
|
|
|
@ -223,7 +225,9 @@ setuptools.setup( |
|
|
|
packages=setuptools.find_packages('.'), |
|
|
|
packages=setuptools.find_packages('.'), |
|
|
|
install_requires=[ |
|
|
|
install_requires=[ |
|
|
|
'protobuf>=3.5.0.post1', |
|
|
|
'protobuf>=3.5.0.post1', |
|
|
|
|
|
|
|
'six>=1.0.0', |
|
|
|
'grpcio>={version}'.format(version=grpc_version.VERSION), |
|
|
|
'grpcio>={version}'.format(version=grpc_version.VERSION), |
|
|
|
], |
|
|
|
], |
|
|
|
package_data=package_data(), |
|
|
|
package_data=package_data(), |
|
|
|
|
|
|
|
test_suite=_TEST_CLASS, |
|
|
|
) |
|
|
|
) |
|
|
|