From f7dac3ff6c1b807734437188c66c226d490853f6 Mon Sep 17 00:00:00 2001 From: Mario Ishac Date: Wed, 9 Sep 2020 10:37:03 -0700 Subject: [PATCH] make PyTorch Lightning PEP 561 Compliant (#3187) * Added py.typed. * Move py.typed inclusion to MANIFEST.in * Added path separator for inclusion --- MANIFEST.in | 3 +++ pytorch_lightning/py.typed | 0 2 files changed, 3 insertions(+) create mode 100644 pytorch_lightning/py.typed diff --git a/MANIFEST.in b/MANIFEST.in index 82cfce2f83..4c5b022439 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -28,6 +28,9 @@ exclude *.toml exclude *.svg recursive-include pytorch_lightning *.py +# Include marker file for PEP 561 +include pytorch_lightning/py.typed + # include examples recursive-include pl_examples *.py *.md *.sh *.txt diff --git a/pytorch_lightning/py.typed b/pytorch_lightning/py.typed new file mode 100644 index 0000000000..e69de29bb2