Skip to content

Commit

Permalink
rename packages
Browse files Browse the repository at this point in the history
  • Loading branch information
WT-MM committed Nov 25, 2024
1 parent 30ab8d3 commit 7658a01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pykos/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ generate-proto:
mv kos/* kos_protos/
rm -rf kos
touch kos_protos/__init__.py

# Fix imports in all generated files
find kos_protos -type f -name "*.py" -exec sed -i '' 's/from kos/from kos_protos/g' {} +
find kos_protos -type f -name "*.py" -exec sed -i '' 's/import kos/import kos_protos/g' {} +
.PHONY: generate-proto


Expand Down

0 comments on commit 7658a01

Please sign in to comment.