diff --git a/eng/tox/verify_sdist.py b/eng/tox/verify_sdist.py index 76938fb1e79f..8d8a69f7b8ec 100644 --- a/eng/tox/verify_sdist.py +++ b/eng/tox/verify_sdist.py @@ -97,10 +97,9 @@ def verify_sdist_pytyped( if os.path.exists(manifest_location): with open(manifest_location, "r") as f: lines = f.readlines() - result = any([include for include in lines if "py.typed" in include]) - - if not result: + if not any([include for include in lines if "py.typed" in include]): logging.info("Ensure that the MANIFEST.in includes at least one path that leads to a py.typed file.") + result = False pytyped_file_path = os.path.join(pkg_dir, *namespace.split("."), "py.typed") if not os.path.exists(pytyped_file_path): diff --git a/sdk/maps/azure-maps-geolocation/setup.py b/sdk/maps/azure-maps-geolocation/setup.py index 3f2a02883105..1978e1e5e95b 100644 --- a/sdk/maps/azure-maps-geolocation/setup.py +++ b/sdk/maps/azure-maps-geolocation/setup.py @@ -78,6 +78,7 @@ 'azure', 'azure.maps', ]), + include_package_data=True, install_requires=[ 'msrest>=0.6.21', 'azure-common~=1.1', diff --git a/sdk/maps/azure-maps-search/setup.py b/sdk/maps/azure-maps-search/setup.py index 19c9e79f038e..a0927669173f 100644 --- a/sdk/maps/azure-maps-search/setup.py +++ b/sdk/maps/azure-maps-search/setup.py @@ -76,6 +76,7 @@ 'azure', 'azure.maps', ]), + include_package_data=True, install_requires=[ 'msrest>=0.6.21', 'azure-common~=1.1', diff --git a/sdk/monitor/azure-monitor-ingestion/setup.py b/sdk/monitor/azure-monitor-ingestion/setup.py index abf8fdef7c6a..2159b5e6e6dc 100644 --- a/sdk/monitor/azure-monitor-ingestion/setup.py +++ b/sdk/monitor/azure-monitor-ingestion/setup.py @@ -80,6 +80,7 @@ 'azure', 'azure.monitor', ]), + include_package_data=True, install_requires=[ 'msrest>=0.6.19', 'azure-core<2.0.0,>=1.24.0',