Skip to content

Commit c29c3a1

Browse files
scbeddweshaggard
authored andcommitted
add py.typed files to any packages missing them. update MANIFEST.in to include py.typed. update setup.py where necessary to set flat include_package_data and define package_data arguments for the new py.typed file. Disabling CI to avoid buildstorm: ***NO_CI***
1 parent 29b8aa6 commit c29c3a1

File tree

148 files changed

+271
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+271
-6
lines changed

sdk/agrifood/azure-agrifood-farming/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ include *.md
44
include LICENSE
55
include azure/__init__.py
66
include azure/agrifood/__init__.py
7+
include azure/agrifood/farming/py.typed

sdk/agrifood/azure-agrifood-farming/setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@
6262
'azure',
6363
'azure.agrifood',
6464
]),
65+
include_package_data=True,
66+
package_data={
67+
'pytyped': ['py.typed'],
68+
},
6569
python_requires=">=3.6",
6670
install_requires=[
6771
"azure-core<2.0.0,>=1.14.0",

sdk/anomalydetector/azure-ai-anomalydetector/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ include *.md
44
include LICENSE
55
include azure/__init__.py
66
include azure/ai/__init__.py
7+
include azure/ai/anomalydetector/py.typed

sdk/anomalydetector/azure-ai-anomalydetector/setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@
6565
'azure',
6666
'azure.ai',
6767
]),
68+
include_package_data=True,
69+
package_data={
70+
'pytyped': ['py.typed'],
71+
},
6872
python_requires=">=3.6",
6973
install_requires=[
7074
'msrest>=0.6.21',

sdk/attestation/azure-security-attestation/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ include azure/__init__.py
44
include azure/security/__init__.py
55
recursive-include samples *.py *.md
66
recursive-include tests *.py *.yaml
7+
include azure/security/attestation/py.typed

sdk/attestation/azure-security-attestation/setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@
6767
"azure.security",
6868
]
6969
),
70+
include_package_data=True,
71+
package_data={
72+
'pytyped': ['py.typed'],
73+
},
7074
python_requires=">=3.6",
7175
install_requires=[
7276
"azure-core<2.0.0,>=1.8.2",

sdk/batch/azure-batch/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ include *.md
22
include LICENSE
33
include azure/__init__.py
44
recursive-include tests *.py
5+
include azure/batch/py.typed

sdk/batch/azure-batch/azure/batch/py.typed

Whitespace-only changes.

sdk/batch/azure-batch/setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@
6161
# Exclude packages that will be covered by PEP420 or nspkg
6262
'azure',
6363
]),
64+
include_package_data=True,
65+
package_data={
66+
'pytyped': ['py.typed'],
67+
},
6468
python_requires=">=3.6",
6569
install_requires=[
6670
'msrest>=0.6.21',

sdk/cognitivelanguage/azure-ai-language-questionanswering/setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959
'azure.ai',
6060
'azure.ai.language',
6161
]),
62+
include_package_data=True,
63+
package_data={
64+
'pytyped': ['py.typed'],
65+
},
6266
install_requires=[
6367
'azure-core<2.0.0,>=1.19.1',
6468
'msrest>=0.6.21',

0 commit comments

Comments
 (0)