Skip to content

Commit

Permalink
fix: Ensure that __init__ files exist in proto dirs
Browse files Browse the repository at this point in the history
Signed-off-by: Achal Shah <[email protected]>
  • Loading branch information
achals committed Mar 22, 2022
1 parent e0041f1 commit 6e4dd62
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 6e4dd62

Please sign in to comment.