summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbst-marge-bot <marge-bot@buildstream.build>2020-08-04 23:52:34 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2020-08-04 23:52:34 +0000
commit104c715b5da2b32abfe317f81f93beb9890e4ff6 (patch)
tree2ffcfc72c48c49425a6ee6e29b0415060c4701cf
parent650a5127602a9c9eefea0d3f2121c04b4c957f18 (diff)
parentb04dfb2be1c72c792353304d54a89aa61cb9596d (diff)
downloadbuildstream-104c715b5da2b32abfe317f81f93beb9890e4ff6.tar.gz
Merge branch 'chandan/publish-types' into 'master'
Publish our type annotations See merge request BuildStream/buildstream!2012
-rwxr-xr-xsetup.py9
-rw-r--r--src/buildstream/py.typed0
2 files changed, 8 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index c300d33e9..930c9de40 100755
--- a/setup.py
+++ b/setup.py
@@ -347,7 +347,14 @@ setup(
package_dir={"": "src"},
packages=find_packages(where="src", exclude=("tests", "tests.*")),
package_data={
- "buildstream": ["plugins/*/*.py", "plugins/*/*.yaml", "data/*.yaml", "data/*.sh.in", *list_testing_datafiles()]
+ "buildstream": [
+ "py.typed",
+ "plugins/*/*.py",
+ "plugins/*/*.yaml",
+ "data/*.yaml",
+ "data/*.sh.in",
+ *list_testing_datafiles(),
+ ]
},
data_files=[
# This is a weak attempt to integrate with the user nicely,
diff --git a/src/buildstream/py.typed b/src/buildstream/py.typed
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/buildstream/py.typed