'_windows/grpc_c.64.python', ], } if INSTALL_TESTS: PACKAGE_DATA = dict(PACKAGE_DATA, **TEST_PACKAGE_DATA) PACKAGES = setuptools.find_packages(PYTHON_STEM) else: PACKAGES = setuptools.find_packages(PYTHON_STEM, exclude=['tests', 'tests.*']) setup_arguments = { 'name': 'grpcio', 'version': grpc_version.VERSION, 'license': LICENSE, 'ext_modules': CYTHON_EXTENSION_MODULES, 'packages': list(PACKAGES), 'package_dir': PACKAGE_DIRECTORIES, 'package_data': PACKAGE_DATA, 'install_requires': INSTALL_REQUIRES, 'setup_requires': SETUP_REQUIRES, 'cmdclass': COMMAND_CLASS, 'tests_require': TESTS_REQUIRE, 'test_suite': TEST_SUITE, 'test_loader': TEST_LOADER, 'test_runner': TEST_RUNNER, } precompiled.update_setup_arguments(setup_arguments) setuptools.setup(**setup_arguments)
} if INSTALL_TESTS: PACKAGE_DATA = dict(PACKAGE_DATA, **TEST_PACKAGE_DATA) PACKAGES = setuptools.find_packages(PYTHON_STEM) else: PACKAGES = setuptools.find_packages( PYTHON_STEM, exclude=['tests', 'tests.*']) setup_arguments = { 'name': 'grpcio', 'version': grpc_version.VERSION, 'license': LICENSE, 'ext_modules': CYTHON_EXTENSION_MODULES, 'packages': list(PACKAGES), 'package_dir': PACKAGE_DIRECTORIES, # TODO(atash): Figure out why auditwheel doesn't like namespace packages. #'namespace_packages': ['grpc'], 'package_data': PACKAGE_DATA, 'install_requires': INSTALL_REQUIRES, 'setup_requires': SETUP_REQUIRES, 'cmdclass': COMMAND_CLASS, 'tests_require': TESTS_REQUIRE, 'test_suite': TEST_SUITE, 'test_loader': TEST_LOADER, 'test_runner': TEST_RUNNER, } precompiled.update_setup_arguments(setup_arguments) setuptools.setup(**setup_arguments)