Compile source wheels for xds-protos (#26034)

pull/26050/head
Lidi Zheng 4 years ago committed by GitHub
parent 8e0bcf559c
commit 0657787b13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/distrib/python/xds_protos/build.py
  2. 1
      tools/distrib/python/xds_protos/build_validate_upload.sh
  3. 2
      tools/distrib/python/xds_protos/setup.py

@ -131,5 +131,5 @@ def main():
f.writelines(TEST_IMPORTS)
if __file__ == "__main__":
if __name__ == "__main__":
main()

@ -21,6 +21,7 @@ cd ${WORK_DIR}
# Generate the package content then build the source wheel
python3 build.py
python3 setup.py sdist
python3 setup.py bdist_wheel
# Run the tests to ensure all protos are importable, also avoid confusing normal
# imports with relative imports

@ -41,7 +41,7 @@ INSTALL_REQUIRES = [
SETUP_REQUIRES = INSTALL_REQUIRES + ['grpcio-tools']
setuptools.setup(
name='xds-protos',
version='0.0.4',
version='0.0.5',
packages=PACKAGES,
description='Generated Python code from envoyproxy/data-plane-api',
long_description_content_type='text/x-rst',

Loading…
Cancel
Save