Skip to content

Commit

Permalink
fix: Ensure that __init__ files exist in proto dirs (feast-dev#2433)
Browse files Browse the repository at this point in the history
Signed-off-by: Achal Shah <achals@gmail.com>
  • Loading branch information
achals authored Mar 22, 2022
1 parent bb82741 commit 9b94f7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdk/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b94f7b

Please sign in to comment.