From 6e4dd62b0843210655d2d0dc8509012ec2293705 Mon Sep 17 00:00:00 2001 From: Achal Shah Date: Mon, 21 Mar 2022 21:11:43 -0700 Subject: [PATCH] fix: Ensure that __init__ files exist in proto dirs 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