Skip to content

Commit 9b94f7b

Browse files
authored
fix: Ensure that __init__ files exist in proto dirs (#2433)
Signed-off-by: Achal Shah <achals@gmail.com>
1 parent bb82741 commit 9b94f7b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎sdk/python/setup.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,11 @@ def run(self):
224224
with open(f"{self.python_folder}/feast/{sub_folder}/__init__.py", 'w'):
225225
pass
226226

227+
with open(f"{self.python_folder}/__init__.py", 'w'):
228+
pass
229+
with open(f"{self.python_folder}/feast/__init__.py", 'w'):
230+
pass
231+
227232
for path in Path("feast/protos").rglob("*.py"):
228233
for folder in self.sub_folders:
229234
# Read in the file

0 commit comments

Comments
 (0)