aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Frédéric Gauron <jfgauron+github@gmail.com>2023-06-29 02:20:54 -0400
committerGitHub <noreply@github.com>2023-06-29 08:20:54 +0200
commit20534f95f47bef6ab0a73353542861a2844b1141 (patch)
treecf5ce55b295d2229126403a7da6d49fe1182456f
parentd4fa293efddf57768d582206c0ee09080e46166c (diff)
downloadpyfakefs-20534f95f47bef6ab0a73353542861a2844b1141.tar.gz
Add py.typed marker file (as defined by PEP 561) (#848)
-rw-r--r--pyfakefs/py.typed1
-rw-r--r--setup.cfg3
2 files changed, 4 insertions, 0 deletions
diff --git a/pyfakefs/py.typed b/pyfakefs/py.typed
new file mode 100644
index 0000000..d149b18
--- /dev/null
+++ b/pyfakefs/py.typed
@@ -0,0 +1 @@
+# Marker file for PEP 561. The pyfakefs package uses inline types.
diff --git a/setup.cfg b/setup.cfg
index b73371a..be7953b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -57,6 +57,9 @@ include_package_data = True
[options.packages.find]
exclude = docs
+[options.package_data]
+pyfakefs = py.typed
+
[options.entry_points]
pytest11 =
pytest_fakefs = pyfakefs.pytest_plugin