From 9b94f7b35221af0bf1f813ab47e2f52e37a79ca6 Mon Sep 17 00:00:00 2001 From: Achal Shah Date: Mon, 21 Mar 2022 23:31:01 -0700 Subject: [PATCH] fix: Ensure that __init__ files exist in proto dirs (#2433) Signed-off-by: Achal Shah --- sdk/python/setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdk/python/setup.py b/sdk/python/setup.py index 351f32b71b..fea83267ce 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -224,6 +224,11 @@ def run(self): with open(f"{self.python_folder}/feast/{sub_folder}/__init__.py", 'w'): pass + with open(f"{self.python_folder}/__init__.py", 'w'): + pass + with open(f"{self.python_folder}/feast/__init__.py", 'w'): + pass + for path in Path("feast/protos").rglob("*.py"): for folder in self.sub_folders: # Read in the file